Message86111
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. |
|
Date |
User |
Action |
Args |
2009-04-18 08:56:11 | Trundle | set | recipients:
+ Trundle, pitrou, sebastinas, aronacher, prologic |
2009-04-18 08:56:10 | Trundle | set | messageid: <1240044970.75.0.0446969050396.issue5322@psf.upfronthosting.co.za> |
2009-04-18 08:56:09 | Trundle | link | issue5322 messages |
2009-04-18 08:56:09 | Trundle | create | |
|