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 serhiy.storchaka, vstinner
Date 2017-06-12.15:11:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497280292.54.0.211793983142.issue30640@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, I mean the "k + 1" with k=NULL.

Even if _PyEval_EvalCodeWithName() ignores that value, this still is an undefined behavior. For example the compiler can decide that since NULL+1 is not valid, then k never is NULL, and ignore the branch that sets k to NULL. It can also not generate the code in _PyEval_EvalCodeWithName() for handling the case kwcount == 0.
History
Date User Action Args
2017-06-12 15:11:32serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner
2017-06-12 15:11:32serhiy.storchakasetmessageid: <1497280292.54.0.211793983142.issue30640@psf.upfronthosting.co.za>
2017-06-12 15:11:32serhiy.storchakalinkissue30640 messages
2017-06-12 15:11:32serhiy.storchakacreate