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 ngie
Recipients ngie, serhiy.storchaka
Date 2020-02-26.22:26:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1582755984.27.0.637972308686.issue39762@roundup.psfhosted.org>
In-reply-to
Content
PyInt_AS_LONG doesn't exist on python 3, however:

$ grep -r PyInt_AS_LONG /usr/include/
[/usr/include/python2.7/intobject.h:#define PyInt_AS_LONG(op) (((PyIntObject *)(op))->ob_ival)

The code smell for the pieces that use PyInt_AS_LONG seems a bit questionable since they're used as array indexes; I'll poke a bit more and look at using one of the other sets of C APIs instead in our project.
History
Date User Action Args
2020-02-26 22:26:24ngiesetrecipients: + ngie, serhiy.storchaka
2020-02-26 22:26:24ngiesetmessageid: <1582755984.27.0.637972308686.issue39762@roundup.psfhosted.org>
2020-02-26 22:26:24ngielinkissue39762 messages
2020-02-26 22:26:24ngiecreate