Message86111
| Author |
Trundle |
| Recipients |
Trundle, aronacher, pitrou, prologic, sebastinas |
| Date |
2009年04月18日.08:56:09 |
| SpamBayes Score |
1.7207466e-07 |
| Marked as misclassified |
No |
| Message-id |
<1240044970.75.0.0446969050396.issue5322@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|