[Python-Dev] Two patches
"Martin v. Löwis"
martin at v.loewis.de
Tue Feb 21 22:53:40 CET 2006
More information about the Python-Dev mailing list
Tue Feb 21 22:53:40 CET 2006
- Previous message: [Python-Dev] Two patches
- Next message: [Python-Dev] Two patches
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 last): File "<stdin>", line 1, in ? TypeError: object doesn't support item assignment py> tup ([1],) Errors should never pass silently, but success shouldn't cause an error message, either. > * One patch for staticmethod and classmethod, which currently silently > accept keyword arguments and throw them away. The patch adds error > messages. Sounds good as well. Regards, Martin
- Previous message: [Python-Dev] Two patches
- Next message: [Python-Dev] Two patches
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list