Author Trundle
Recipients Trundle, aronacher, pitrou, prologic, sebastinas
Date 2009-04-18.08:56:09
SpamBayes Score 1.72075e-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:11Trundlesetrecipients: + Trundle, pitrou, sebastinas, aronacher, prologic
2009-04-18 08:56:10Trundlesetmessageid: <1240044970.75.0.0446969050396.issue5322@psf.upfronthosting.co.za>
2009-04-18 08:56:09Trundlelinkissue5322 messages
2009-04-18 08:56:09Trundlecreate