Message362749
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. |
|
Date |
User |
Action |
Args |
2020-02-26 22:26:24 | ngie | set | recipients:
+ ngie, serhiy.storchaka |
2020-02-26 22:26:24 | ngie | set | messageid: <1582755984.27.0.637972308686.issue39762@roundup.psfhosted.org> |
2020-02-26 22:26:24 | ngie | link | issue39762 messages |
2020-02-26 22:26:24 | ngie | create | |
|