mirror of
https://github.com/python/cpython.git
synced 2026-06-12 12:51:51 +00:00
If we overflowed the global version counter (i.e., after 2*24 calls to
`_PyMonitoring_SetEvents`), we bailed out after setting global monitoring
events but before instrumenting code objects, which led to assertion errors
later on.
Also add a `time.sleep()` to `test_free_threading.test_monitoring` to avoid
overflowing the global version counter.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_bisect.py | ||
| test_code.py | ||
| test_dict.py | ||
| test_func_annotations.py | ||
| test_gc.py | ||
| test_list.py | ||
| test_monitoring.py | ||
| test_set.py | ||
| test_slots.py | ||
| test_str.py | ||
| test_tokenize.py | ||
| test_type.py | ||