Skip to content

Commit afd3eff

Browse files
committed
gh-129068: Make range iterators thread-safe
Now that we specialize range iteration in the interpreter for the common case where the iterator has only one reference, there's not a significant performance cost to making the iteration thread-safe.
1 parent 16a305f commit afd3eff

File tree

3 files changed

+254
-61
lines changed

3 files changed

+254
-61
lines changed

Objects/clinic/rangeobject.c.h

Lines changed: 135 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)