You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Under Python 3, in _compat.h we define:
persistent/persistent/_compat.h
Line 34 in d4f1204
But that's not a documented API. It is still defined by CPython, but just in terms of the documented API
I propose changing to use the documented API.
The text was updated successfully, but these errors were encountered: