Christoph Gohlke added the comment: Is PyLong_FromVoidPtr compatible to PyInt_FromLong on 32 bit Python 2.7? It looks like PyLong_FromVoidPtr returns a PyLong when the address is > 2**31, while PyInt_FromLong returns a PyInt? Not sure it matters. PyLong_FromVoidPtr is certainly cleaner.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18909> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com