Skip to content

sync unicodeobject FFI definitions to 3.15#6041

Merged
davidhewitt merged 5 commits into
PyO3:mainfrom
davidhewitt:unicode-apis
May 14, 2026
Merged

sync unicodeobject FFI definitions to 3.15#6041
davidhewitt merged 5 commits into
PyO3:mainfrom
davidhewitt:unicode-apis

Conversation

@davidhewitt

Copy link
Copy Markdown
Member

Followup to #5965

This synchronises the unicode headers to be up to date with the Python 3.15 definitions.

@davidhewitt davidhewitt mentioned this pull request May 13, 2026
@codspeed-hq

codspeed-hq Bot commented May 13, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 125 untouched benchmarks


Comparing davidhewitt:unicode-apis (0aa5d68) with main (d818aef)

Open in CodSpeed

Comment thread pyo3-ffi/src/cpython/unicodeobject.rs
Co-authored-by: Thomas Tanon <thomas@pellissier-tanon.fr>
@davidhewitt davidhewitt enabled auto-merge May 14, 2026 08:09
@davidhewitt davidhewitt added this pull request to the merge queue May 14, 2026
Merged via the queue into PyO3:main with commit ad7d450 May 14, 2026
47 of 48 checks passed
@davidhewitt davidhewitt deleted the unicode-apis branch May 14, 2026 10:07
@ngoldbaum

Copy link
Copy Markdown
Contributor

@davidhewitt over in the maturin CI, I just hit a PyPy failure that I think is related to this:

https://github.com/PyO3/maturin/actions/runs/26537638016/job/78170726414?pr=3113#step:18:1074

    Traceback (most recent call last):
      File "/Users/runner/work/maturin/maturin/test-crates/pyo3-stub-generation/check_installed/check_installed.py", line 4, in <module>
        import pyo3_stub_generation
      File "/Users/runner/work/maturin/maturin/test-crates/venvs/integration-pyo3-stub-generation-zig-py3-pypy/lib/pypy3.11/site-packages/pyo3_stub_generation/__init__.py", line 1, in <module>
        from .pyo3_stub_generation import *
    ImportError: dlopen(/Users/runner/work/maturin/maturin/test-crates/venvs/integration-pyo3-stub-generation-zig-py3-pypy/lib/pypy3.11/site-packages/pyo3_stub_generation/pyo3_stub_generation.pypy311-pp73-darwin.so, 0x0006): symbol not found in flat namespace '__PyUnicode_ToDecimalDigit'

Not sure offhand what's broken and why this didn't show up in the PyO3 CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants