mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
|
Some checks are pending
Tests / Windows MSI (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Cross build Linux (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
Previously, we assumed that instrumentation would happen for all copies of
the bytecode if the instrumentation version on the code object didn't match
the per-interpreter instrumentation version. That assumption was incorrect:
instrumentation will exit early if there are no new "events," even if there
is an instrumentation version mismatch.
To fix this, include the instrumented opcodes when creating new copies of
the bytecode, rather than replacing them with their uninstrumented variants.
I don't think we have to worry about races between instrumentation and creating
new copies of the bytecode: instrumentation and new bytecode creation cannot happen
concurrently. Instrumentation requires that either the world is stopped or the
code object's per-object lock is held and new bytecode creation requires holding
the code object's per-object lock.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_code.py | ||
| test_dict.py | ||
| test_enumerate.py | ||
| test_func_annotations.py | ||
| test_functools.py | ||
| test_gc.py | ||
| test_grp.py | ||
| test_heapq.py | ||
| test_iteration.py | ||
| test_itertools_batched.py | ||
| test_list.py | ||
| test_methodcaller.py | ||
| test_monitoring.py | ||
| test_races.py | ||
| test_reversed.py | ||
| test_set.py | ||
| test_slots.py | ||
| test_str.py | ||
| test_tokenize.py | ||
| test_type.py | ||
| test_zip.py | ||