Skip to content

Commit f87b286

Browse files
Don't expose PyASCIIObjectState on Python3.14 and newer (#5133)
* fix FFI PyUnicode bindings for 3.14.0b1 * Remove PyASCIIObjectState from pyo3-ffi for Py_3_14 * Update pyo3-ffi/src/cpython/unicodeobject.rs Co-authored-by: David Hewitt <[email protected]> --------- Co-authored-by: David Hewitt <[email protected]>
1 parent b36849a commit f87b286

File tree

3 files changed

+81
-303
lines changed

3 files changed

+81
-303
lines changed

newsfragments/5133.removed.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* Removed PyASCIIObjectState from the FFI bindings on Python 3.14 and newer.
2+
* Removed PyUnicode_IS_ASCII, PyUnicode_IS_COMPACT, and PyUnicode_IS_COMPACT_ASCII from the FFI bindings on Python 3.14 and newer, since they relied on PyASCIIObjectState.

0 commit comments

Comments
 (0)