You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to fix it but I don't have enough skill to write compile-time switch in Cython.
If it is difficult to fix it soon, I will resurrect PyUnicode_AS_DATA and PyUnicode_GET_DATA_SIZE as dummy function that just raise an exception.
Activity
vstinner commentedon May 11, 2022
FYI the lxml project still uses uses deprecated functions:
Compiler warnings on Python 3.11:
gh-92536: PEP 623: Remove wstr and legacy APIs from Unicode (GH-92537)
methane commentedon May 12, 2022
Thank you for reporting.
I reported it to lxml. https://bugs.launchpad.net/lxml/+bug/1973155
I tried to fix it but I don't have enough skill to write compile-time switch in Cython.
If it is difficult to fix it soon, I will resurrect
PyUnicode_AS_DATAandPyUnicode_GET_DATA_SIZEas dummy function that just raise an exception.vstinner commentedon May 12, 2022
I wrote https://github.com/gevent/gevent/pull/1872/files which has conditional code depending on the Python version.
pythongh-92536: Doc update about Py_UNICODE removal
gh-92536: Doc update about Py_UNICODE removal (GH-92756)
gh-92536: Update unicode struct size to ensure MemoryError is raised (G…
vstinner commentedon May 19, 2022
Well done! That was a long journey ;-)
gh-92536: Mark PyUnicode_READY() argument as unused (#93011)
pythongh-92536: Argument Clinic no longer emits PyUnicode_READY()
pythongh-92536: Argument Clinic no longer emits PyUnicode_READY()
pythongh-92536: Argument Clinic no longer emits PyUnicode_READY()
pythongh-92536: Remove PyUnicode_READY() calls
pythongh-92536: Remove PyUnicode_READY() calls
pythongh-92536: Argument Clinic no longer emits PyUnicode_READY()
gh-92536: Argument Clinic no longer emits PyUnicode_READY() (#105208)
gh-92536: Remove PyUnicode_READY() calls (#105210)
python/cpython#92536: PEP 623: Remove wstr and legacy APIs from Unico…
python/cpython#92536: PEP 623: Remove wstr and legacy APIs from Unico…
python/cpython#92536: PEP 623: Remove wstr and legacy APIs from Unico…
gh-92536: Fix comment about number of unicode string types (#136439)
pythongh-92536: Fix comment about number of unicode string types (pyt…
pythongh-92536: Fix comment about number of unicode string types (pyt…
pythongh-92536: Fix comment about number of unicode string types (pyt…
pythongh-92536: Fix comment about number of unicode string types (pyt…
pythongh-92536: Fix comment about number of unicode string types (pyt…