-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats #108
Comments
The TimeStamp type is actually defined in |
mgedmin
added a commit
that referenced
this issue
Mar 26, 2019
This API was introduced in Python 2.7 and has been deprecated since Python 3.8. Fixes #108.
mgedmin
added a commit
that referenced
this issue
Mar 26, 2019
This API was introduced in Python 2.7 and the old one (using ints) has been deprecated since Python 3.8. Fixes #108.
mgedmin
added a commit
that referenced
this issue
Mar 26, 2019
This API was introduced in Python 2.5 and the old one (using ints) has been deprecated since Python 3.8. Fixes #108.
mgedmin
added a commit
that referenced
this issue
Mar 26, 2019
This API was introduced in Python 2.5 and the old one (using ints) has been deprecated since Python 3.8. See #108.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been testing zodbbrowser on Python 3.8.0a3, and I noticed new deprecation warnings:
There are many more, but they all mention
TimeStamp(...)
, so I assume that's where the bug is.These were introduced by https://bugs.python.org/issue36381 to warn about an upcoming Python C API change. The meaning of PY_SSIZE_T_CLEAN is described in https://python.readthedocs.io/en/stable/c-api/arg.html#strings-and-buffers.
What ZODB needs to do is:
PY_SSIZE_T_CLEAN was introduced in Python 2.5 so there shouldn't be any backwards-compatibility issues.
The text was updated successfully, but these errors were encountered: