summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_opcache.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.13] gh-133441: Fix STORE_ATTR_WITH_HINT bytecode (#133446)Victor Stinner2025-05-111-0/+18
| | | | | Deoptimize if the dict is a dict subclass. Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
* [3.13] gh-122712: Guard against __code__ reassignment in ↵mpage2024-08-211-7/+32
| | | | CALL_ALLOC_AND_ENTER_INIT (GH-122713) (GH-123184)
* gh-118335: Configure Tier 2 interpreter at build time (#118339)Guido van Rossum2024-05-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | The code for Tier 2 is now only compiled when configured with `--enable-experimental-jit[=yes|interpreter]`. We drop support for `PYTHON_UOPS` and -`Xuops`, but you can disable the interpreter or JIT at runtime by setting `PYTHON_JIT=0`. You can also build it without enabling it by default using `--enable-experimental-jit=yes-off`; enable with `PYTHON_JIT=1`. On Windows, the `build.bat` script supports `--experimental-jit`, `--experimental-jit-off`, `--experimental-interpreter`. In the C code, `_Py_JIT` is defined as before when the JIT is enabled; the new variable `_Py_TIER2` is defined when the JIT *or* the interpreter is enabled. It is actually a bitmask: 1: JIT; 2: default-off; 4: interpreter.
* gh-116303: Skip test module dependent tests if test modules are unavailable ↵Erlend E. Aasland2024-04-031-1/+2
| | | | (#117341)
* GH-115776: Embed the values array into the object, for "normal" Python ↵Mark Shannon2024-04-021-12/+1
| | | | objects. (GH-116115)
* gh-115999: Disable the specializing adaptive interpreter in free-threaded ↵Brett Simmers2024-03-011-1/+3
| | | | | builds (#116013) For now, disable all specialization when the GIL might be disabled.
* gh-109721: Guard `_testinternalcapi` imports in tests (GH-109722)Nikita Sobolev2023-09-221-2/+6
|
* gh-108311: Fix test_store_attr_with_hint by disabling optimizer in decorator ↵Guido van Rossum2023-08-251-0/+14
| | | | | | | | | (#108312) See https://github.com/python/cpython/issues/108311#issuecomment-1693569380 --------- Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
* GH-106485: Handle dict subclasses correctly when dematerializing `__dict__` ↵Mark Shannon2023-08-101-0/+121
| | | | (GH-107837)
* GH-106485: Dematerialize instance dictionaries when possible (GH-106539)Brandt Bucher2023-08-091-2/+6
|
* GH-106214: Fix `test_opcache` to skip threaded tests on non-threaded ↵Hood Chatham2023-06-281-0/+2
| | | | | platforms (GH-106166) This skips the test added in GH-105953 on threadless builds.
* Test specialization's thread-safety (GH-105953)Brandt Bucher2023-06-221-1/+511
|
* GH-105840: Fix assertion failures when specializing calls with too many ↵Brandt Bucher2023-06-161-0/+29
| | | | __defaults__ (GH-105847)
* gh-87729: specialize LOAD_SUPER_ATTR_METHOD (#103809)Carl Meyer2023-04-251-0/+23
|
* GH-99257: Check the owner's type when specializing slots (GH-99258)Brandt Bucher2022-11-101-0/+67
|
* GH-94822: Don't specialize when metaclasses are involved (GH-94892)Brandt Bucher2022-07-181-0/+344
|
* bpo-42266: Handle monkey-patching descriptors in LOAD_ATTR cache (GH-23157)Pablo Galindo2020-11-051-0/+23