-
Notifications
You must be signed in to change notification settings - Fork 320
Python 3.12: PyUnicode_AS_UNICODE
has been removed
#583
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
Comments
penguinolog
pushed a commit
to penguinolog/urwid
that referenced
this issue
Aug 16, 2023
penguinolog
added a commit
that referenced
this issue
Aug 16, 2023
Related: #583 Co-authored-by: Aleksei Stepanov <alekseis@nvidia.com>
penguinolog
pushed a commit
to penguinolog/urwid
that referenced
this issue
Sep 4, 2023
penguinolog
added a commit
that referenced
this issue
Sep 4, 2023
penguinolog
pushed a commit
to penguinolog/urwid
that referenced
this issue
Sep 4, 2023
Replace as pep-0393 recommended: * `PyUnicode_AS_UNICODE` by `PyUnicode_ReadChar` (use Stable API) * Enable PR tests on python 3.12
6 tasks
penguinolog
added a commit
that referenced
this issue
Sep 4, 2023
* Fix #583: python 3.12 compatibility Replace as pep-0393 recommended: * `PyUnicode_AS_UNICODE` by `PyUnicode_ReadChar` (use Stable API) * Enable PR tests on python 3.12 * Force Limited API following pep-0384 --------- Co-authored-by: Aleksei Stepanov <alekseis@nvidia.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
In Python 3.12,
PyUnicdeo_AS_UNICODE
has been removed:https://peps.python.org/pep-0623/#python-3-12
It's still used in https://github.com/urwid/urwid/blob/f7d2f2f6a8a519bd64ebbe1895e5c6b5948199f3/source/str_util.c
Affected versions (if applicable)
master
branch (specify commit)pypi
Steps to reproduce (if applicable)
Attempting to build urwid will give errors of this form:
Expected/actual outcome
[...]
The text was updated successfully, but these errors were encountered: