homepage

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 serhiy.storchaka
Recipients Demur Rumed, serhiy.storchaka
Date 2016年06月12日.15:34:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465745648.38.0.217159225058.issue27301@psf.upfronthosting.co.za>
In-reply-to
Content
Macros ADDOP, ADDOP_I, ADDOP_O, etc are used in Python/compile.c for emitting instructions. They make functions where they are used returning 0 on error. But some functions return -1 on error and non-negative integer on success. 0 is legitimate value. In case of error in the ADDOP* macro, the error is not correctly detected in the outer function.
Here is a patch that fixes this issue in 3.6. 3.5 and 2.7 need different patches.
History
Date User Action Args
2016年06月12日 15:34:08serhiy.storchakasetrecipients: + serhiy.storchaka, Demur Rumed
2016年06月12日 15:34:08serhiy.storchakasetmessageid: <1465745648.38.0.217159225058.issue27301@psf.upfronthosting.co.za>
2016年06月12日 15:34:08serhiy.storchakalinkissue27301 messages
2016年06月12日 15:34:08serhiy.storchakacreate

AltStyle によって変換されたページ (->オリジナル) /