Re: [Python-Dev] Two patches

2006-02-21 Thread Georg Brandl
Martin v. Löwis wrote: > Georg Brandl wrote: >> * I think I've submitted this one to the tracker, but can't remember: >> It's for PySequence_SetItem and makes something like this possible: >> >> tup = ([], ) >> tup[0] += [1] > > That definitely needs fixing: > > py> tup = ([], ) > py> tup[

Re: [Python-Dev] Two patches

2006-02-21 Thread Martin v. Löwis
Georg Brandl wrote: > * I think I've submitted this one to the tracker, but can't remember: > It's for PySequence_SetItem and makes something like this possible: > > tup = ([], ) > tup[0] += [1] That definitely needs fixing: py> tup = ([], ) py> tup[0] += [1] Traceback (most recent call la

[Python-Dev] Two patches

2006-02-21 Thread Georg Brandl
Hi, I have two patches lying around here, please comment: * I think I've submitted this one to the tracker, but can't remember: It's for PySequence_SetItem and makes something like this possible: tup = ([], ) tup[0] += [1] I can upload it once more to allow review. * One patch for stat