This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients pitrou, tamino
Date 2008-08-28.00:14:13
SpamBayes Score 0.2624003
Marked as misclassified No
Message-id <1219882454.99.0.820868734214.issue3710@psf.upfronthosting.co.za>
In-reply-to
Content
Hmm, rather than the while loop in your proposal, the proper idiom would be:

                PyObject *olddict = self->dict;
                Py_INCREF(ldict);
                self->dict = ldict;
                Py_XDECREF(olddict);
History
Date User Action Args
2008-08-28 00:14:15pitrousetrecipients: + pitrou, tamino
2008-08-28 00:14:14pitrousetmessageid: <1219882454.99.0.820868734214.issue3710@psf.upfronthosting.co.za>
2008-08-28 00:14:14pitroulinkissue3710 messages
2008-08-28 00:14:13pitroucreate