Serhiy Storchaka added the comment: There is PyLong_FromVoidPtr() for such cases.
---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue18909> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
