Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Python3: Stop using undocumented PyLong_AS_LONG.
Fixes #125 Because it was just an alias for the documented API, there should be no repercussions. The exception (and the reason for this issue in the first place) is if something both includes 'cPersistence.h' and also defines their own INT_AS_LONG macro. If the definitions differ, the compiler might now emit a warning. I saw that in BTrees https://github.com/zopefoundation/BTrees/pull/122/files#diff-277c29c35c8feb60719e5ec94a3fe72e
- Loading branch information