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 #190
Comments
Interesting! Thanks for letting us know, this will need to be tackled before the next release. |
Hello, we are testing Python 3.10.0+ in Fedora and this is not anymore
https://docs.python.org/3.10/whatsnew/3.10.html#id2 The PY_SSIZE_T_CLEAN macro must now be defined to use PyArg_ParseTuple() and Py_BuildValue() formats which use #: es#, et#, s#, u#, y#, z#, U# and Z#. See Parsing arguments and building values and the PEP 353. https://bugs.python.org/issue40943 Downstream report: https://bugzilla.redhat.com/show_bug.cgi?id=1891793 |
Thanks for letting us know! I've not heard of that constant before, but it looks like there are fairly full explanations of what's going on in the docs, so it should hopefully be straightforward to fix once I (or another contributor) has time. |
Also add support Python 3.10
I got the following bug report as Debian#983149:
When running the following lines
one gets the warning
This is Python 3.9.1+.
The text was updated successfully, but these errors were encountered: