Skip to content
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

Revert to using PyArg_ParseTupleAndKeywords under Python 3.13 #909

Merged
merged 4 commits into from
Jan 16, 2024

Conversation

webknjaz
Copy link
Member

@webknjaz webknjaz commented Jan 5, 2024

What do these changes do?

Revert the use of private CPython APIs that don't exist under Python 3.13.

Are there changes in behavior for the user?

Some slow-down, perhaps...

Related issue number

Ref #862

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes

@webknjaz webknjaz changed the title 🧪 Run tests against Python 3.13 in CI Revert to using PyArg_ParseTupleAndKeywords under Python 3.13 Jan 16, 2024
@webknjaz webknjaz force-pushed the bugfixes/py313-_PyArg_Parser branch 5 times, most recently from 550ffe3 to 99884c5 Compare January 16, 2024 15:51
webknjaz added a commit to webknjaz/multidict that referenced this pull request Jan 16, 2024
@psf-chronographer psf-chronographer bot added the bot:chronographer:provided There is a change note present in this PR label Jan 16, 2024
@webknjaz webknjaz merged commit 61f241f into aio-libs:master Jan 16, 2024
46 checks passed
charles-dyfis-net added a commit to charles-dyfis-net/multidict that referenced this pull request Jan 19, 2024
charles-dyfis-net added a commit to charles-dyfis-net/multidict that referenced this pull request Jan 24, 2024
Implemented as an extension of aio-libs#909, which disabled METH_FASTCALL on Python 3.13 and later.

Fixes aio-libs#926.
charles-dyfis-net added a commit to charles-dyfis-net/multidict that referenced this pull request Jan 24, 2024
Implemented as an extension of aio-libs#909, which disabled METH_FASTCALL on Python 3.13 and later.

Fixes aio-libs#926.
charles-dyfis-net added a commit to charles-dyfis-net/multidict that referenced this pull request Jan 24, 2024
Implemented as an extension of aio-libs#909, which made this change on Python 3.13 and later.

Fixes aio-libs#926 (build failure observed with clang-16.0.6 and gcc-14).
charles-dyfis-net added a commit to charles-dyfis-net/multidict that referenced this pull request Jan 24, 2024
Implemented as an extension of aio-libs#909, which made this change on Python 3.13 and later.

Fixes aio-libs#926 (build failure observed with clang-16.0.6 and gcc-14).
charles-dyfis-net added a commit to charles-dyfis-net/multidict that referenced this pull request Jan 24, 2024
Implemented as an extension of aio-libs#909, which made this change on Python 3.13 and later.

Fixes aio-libs#926 (build failure observed with clang-16.0.6 and gcc-14).
charles-dyfis-net added a commit to charles-dyfis-net/multidict that referenced this pull request Jan 24, 2024
Implemented as an extension of aio-libs#909, which made this change on Python 3.13 and later.

Fixes aio-libs#926 (build failure observed with clang-16.0.6 and gcc-14).
charles-dyfis-net added a commit to charles-dyfis-net/multidict that referenced this pull request Jan 24, 2024
Implemented as an extension of aio-libs#909, which made this change on Python 3.13 and later.

Fixes aio-libs#926 (build failure observed with clang-16.0.6 and gcc-14).
hoodmane pushed a commit to hoodmane/multidict that referenced this pull request Jan 29, 2024
Implemented as an extension of aio-libs#909, which made this change on Python 3.13 and later.

Fixes aio-libs#926 (build failure observed with clang-16.0.6 and gcc-14).
charles-dyfis-net added a commit to charles-dyfis-net/multidict that referenced this pull request Feb 1, 2024
Implemented as an extension of aio-libs#909, which made this change on Python 3.13 and later.

Fixes aio-libs#926 (build failure observed with clang-16.0.6 and gcc-14).

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
charles-dyfis-net added a commit to charles-dyfis-net/multidict that referenced this pull request Feb 1, 2024
Implemented as an extension of aio-libs#909, which made this change on Python 3.13 and later.

Fixes aio-libs#926 (build failure observed with clang-16.0.6 and gcc-14).

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
charles-dyfis-net added a commit to charles-dyfis-net/multidict that referenced this pull request Feb 1, 2024
Implemented as an extension of aio-libs#909, which made this change on Python 3.13 and later.

Fixes aio-libs#926 (build failure observed with clang-16.0.6 and gcc-14).

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
charles-dyfis-net added a commit to charles-dyfis-net/multidict that referenced this pull request Feb 1, 2024
Implemented as an extension of aio-libs#909, which made this change on Python 3.13 and later.

Fixes aio-libs#926 (build failure observed with clang-16.0.6 and gcc-14).

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
charles-dyfis-net added a commit to charles-dyfis-net/multidict that referenced this pull request Feb 1, 2024
Implemented as an extension of aio-libs#909, which made this change on Python 3.13 and later.

Fixes aio-libs#926 (build failure observed with clang-16.0.6 and gcc-14).

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
webknjaz added a commit that referenced this pull request Feb 1, 2024
This patch fixes SEGFAULTs under Python 3.12 by using public C-API,
just like with Python 3.13 (#909).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot:chronographer:provided There is a change note present in this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant