We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb4cc82 commit fbf0a25Copy full SHA for fbf0a25
Lib/test/test_itertools.py
@@ -755,10 +755,7 @@ def keys():
755
next(g) # must pass with address sanitizer
756
757
def test_grouper_next_reentrant_eq_does_not_crash(self):
758
- # regression test for gh-145678: _grouper_next() did not protect
759
- # gbo->currkey / igo->tgtkey before calling PyObject_RichCompareBool,
760
- # so a reentrant __eq__ that advanced the parent groupby could free
761
- # those objects while they were still being compared (use-after-free).
+ # regression test for gh-145678
762
class Key:
763
def __init__(self, val, do_advance):
764
self.val = val
0 commit comments