-
Notifications
You must be signed in to change notification settings - Fork 155
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
Py_UNICODE is deprecated #54
Comments
Is PyUnicode_FromUnicode actually removed in Python 3.11? The Python docs lists the removal for Python 3.12. |
The removal is postponed to Python 3.12. |
Good to know. I will replace it in my fork in the next release. |
@methane does PyUnicode_AS_UNICODE emit a warning as well? This API is significantly harder to replace, since there is no 1:1 replacement (either needs to handle 1/2/4 Byte sizes or allocate + deallocate). |
Use |
Py_UNICODE is deprecated since Python 3.3, and we are planning to remove them in Python 3.11.
Py_UNICODE is deprecated since Python 3.3 and will be removed in Python 3.11.
Would you replace Py_UNICODE with wchar_t, and PyUnicode_FromUnicode with PyUnicode_FromWideChar?
The text was updated successfully, but these errors were encountered: