Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
  • Loading branch information
eendebakpt and ZeroIntensity authored Jun 19, 2025
commit 07881aca9f463e0cb83122d5b946c866a0577685
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Make concurrent iterations over :class:`itertools.chain` safe under free-threading.
Make concurrent iterations over :class:`itertools.chain` safe under :term:`free threading`.
2 changes: 1 addition & 1 deletion Modules/itertoolsmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -1922,7 +1922,7 @@ chain_next_lock_held(PyObject *op)
static PyObject *
chain_next(PyObject *op)
{
PyObject * result;
PyObject *result;
Py_BEGIN_CRITICAL_SECTION(op);
result = chain_next_lock_held(op);
Py_END_CRITICAL_SECTION()
Expand Down
Loading