[issue5322] Python 2.6 object.__new__ argument calling autodetection faulty
Trundle
report at bugs.python.org
Sat Apr 18 10:56:10 CEST 2009
Trundle <andysmuell at hammerhartes.de> added the comment:
The problem is that `type_setattro()` sets the new "__new__" attribute
in the type's dict (through `PyObject_GenericSetAttr()`), but the
corresponding slot will never be updated if the new "__new__" is a
PyCFunction.
The affected code in `update_one_slot()` was added by Guido van Rossum
in r28090, so maybe he would like to comment on that.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5322>
_______________________________________
More information about the Python-bugs-list
mailing list