PEP 779: Criteria for supported status for free-threaded Python

Right now, cls.counter += 1 is atomic in cpython >=3.10 with the gil, isn’t that correct? The reasons for that are kind of spurious (gil is only released at certain bytecodes). But it still makes ‘not considered a bug with the gil’ too imprecise.

1 Like