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 laszlo
Recipients amaury.forgeotdarc, georg.brandl, laszlo
Date 2008-12-05.14:54:39
SpamBayes Score 5.6128033e-07
Marked as misclassified No
Message-id <1228488881.4.0.683570490885.issue4536@psf.upfronthosting.co.za>
In-reply-to
Content
It is changed from PyErr_Clear() to Py_CLEAR(step) because in case
someone else makes the same mistake of not checking for an error before
calling validate_step() we do not want to hide the error.

It is true that if used properly this part will not get executed, but if
there is another similar programming error like the patch fixes in
range_new() it will at least let the programmer see the right traceback
in the terminal.
History
Date User Action Args
2008-12-05 14:54:41laszlosetrecipients: + laszlo, georg.brandl, amaury.forgeotdarc
2008-12-05 14:54:41laszlosetmessageid: <1228488881.4.0.683570490885.issue4536@psf.upfronthosting.co.za>
2008-12-05 14:54:40laszlolinkissue4536 messages
2008-12-05 14:54:39laszlocreate