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

Replace _PyList_Extend with PyList_SetSlice #284

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

musicinmybrain
Copy link
Contributor

This private function is no longer exported in Python 3.13.

It is possible that a PyList_Extend() function-like macro may be added before Python 3.13 final, but using PyList_SetSlice() directly will still work.

See also:

python/cpython#108451

python/cpython#111138

After this PR, pyrsistent builds and the tests pass on Python 3.13.0a1.

This private function is no longer exported in Python 3.13.

It is possible that a PyList_Extend() function-like macro may be added
before Python 3.13 final, but using PyList_SetSlice() directly will
still work.

python/cpython#108451

python/cpython#111138
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.

None yet

1 participant