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