gh-119247: Add macros to use PySequence_Fast safely in free-threaded build (#119315)
Add `Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST` and `Py_END_CRITICAL_SECTION_SEQUENCE_FAST` macros and update `str.join` to use them. Also add a regression test that would crash reliably without this patch.
J
Josh {*()} Rosenberg committed
baf347d91643a83483bae110092750d39471e0c2
Parent: 2b3fb76
Committed by GitHub <noreply@github.com>
on 5/22/2024, 5:45:34 PM