-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
bpo-33195: Doc: Deprecate Py_UNICODE in c-api/arg #6329
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
Conversation
Py_UNICODE is deprecated since Python 3.3. But the deprecation is missed in the c-api/arg document.
Doc/c-api/arg.rst
Outdated
``u`` (:class:`str`) [const Py_UNICODE \*] | ||
Convert a null-terminated buffer of Unicode (UCS-2 or UCS-4) data to a Python | ||
``u`` (:class:`str`) [const wchar_t \*] | ||
Convert a null-terminated buffer of Unicode (UTF-16 or UCS-4) data to a Python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say
a null-terminated :c:type:`wchar_t` buffer
Thanks @methane for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7. |
Py_UNICODE is deprecated since Python 3.3. But the deprecation is missed in the c-api/arg document. (cherry picked from commit 42ec190) Co-authored-by: INADA Naoki <[email protected]>
GH-6369 is a backport of this pull request to the 3.7 branch. |
Py_UNICODE is deprecated since Python 3.3. But the deprecation is missed in the c-api/arg document. (cherry picked from commit 42ec190) Co-authored-by: INADA Naoki <[email protected]>
Thanks @methane for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6. |
Sorry, @methane, I could not cleanly backport this to |
Py_UNICODE is deprecated since Python 3.3. But the deprecation is missed in the c-api/arg document.. (cherry picked from commit 42ec190) Co-authored-by: INADA Naoki <[email protected]>
Py_UNICODE is deprecated since Python 3.3. But the deprecation is missed in the c-api/arg document.. (cherry picked from commit 42ec190) Co-authored-by: INADA Naoki <[email protected]>
GH-6382 is a backport of this pull request to the 3.6 branch. |
Py_UNICODE is deprecated since Python 3.3.
But the deprecation is missed in the c-api/arg document.
https://bugs.python.org/issue33195