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 vstinner
Recipients christian.heimes, loewis, serhiy.storchaka, vstinner
Date 2013-11-19.23:09:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384902584.15.0.191837098846.issue18295@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch adding Py_SAFE_DOWNCAST(). For update_star_args(), I changed the type instead, because I prefer to avoid Py_SAFE_DOWNCAST() when possible.

Modify PyEval_EvalCodeEx() and PyCode_New() to use Py_ssize_t would be more correct, but it may be slower if Py_ssize_t is larger than int, and I hope that nobody calls functions with more than INT_MAX parameters! It would be completly inefficient!
History
Date User Action Args
2013-11-19 23:09:44vstinnersetrecipients: + vstinner, loewis, christian.heimes, serhiy.storchaka
2013-11-19 23:09:44vstinnersetmessageid: <1384902584.15.0.191837098846.issue18295@psf.upfronthosting.co.za>
2013-11-19 23:09:44vstinnerlinkissue18295 messages
2013-11-19 23:09:44vstinnercreate