pyrsistent icon indicating copy to clipboard operation
pyrsistent copied to clipboard

Replace _PyList_Extend with PyList_SetSlice

Open musicinmybrain opened this issue 1 year ago • 0 comments

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:

https://github.com/python/cpython/pull/108451

https://github.com/python/cpython/issues/111138

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

musicinmybrain avatar Oct 26 '23 14:10 musicinmybrain