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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, benjamin.peterson, georg.brandl, kmtracey, ncoghlan, rhettinger, stevea_zope
Date 2009-01-15.22:49:04
SpamBayes Score 0.009302634
Marked as misclassified No
Message-id <1232059745.07.0.988431428365.issue1242657@psf.upfronthosting.co.za>
In-reply-to
Content
In _PyObject_LengthHint() code, at the line:
    if (ro == NULL && PyErr_Occurred()) {
It seems that PyErr_Occurred() is not useful and is always true when the 
previous PyObject_CallMethodObjArgs() returned NULL.

Otherwise the patch is fine to me.
History
Date User Action Args
2009-01-15 22:49:05amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, georg.brandl, rhettinger, stevea_zope, ncoghlan, kmtracey, benjamin.peterson
2009-01-15 22:49:05amaury.forgeotdarcsetmessageid: <1232059745.07.0.988431428365.issue1242657@psf.upfronthosting.co.za>
2009-01-15 22:49:04amaury.forgeotdarclinkissue1242657 messages
2009-01-15 22:49:04amaury.forgeotdarccreate