summaryrefslogtreecommitdiffstats
path: root/Lib/test/test__opcode.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-110923: Fix silently skipped tests in test__opcode.py (#110926)Alex Waygood2023-10-161-1/+9
|
* gh-105481: remove dependency of _inline_cache_entries on opname (#107339)Irit Katriel2023-07-271-1/+1
|
* gh-105481: Generate the opcode lists in dis from data extracted from ↵Irit Katriel2023-07-181-44/+19
| | | | bytecodes.c (#106758)
* gh-105481: expose opcode metadata via the _opcode module (#106688)Irit Katriel2023-07-141-0/+64
|
* gh-105481: remove HAS_ARG, HAS_CONST, IS_JUMP_OPCODE, IS_PSEUDO_OPCODE and ↵Irit Katriel2023-06-171-8/+2
| | | | replace by their new versions (#105865)
* GH-103082: Implementation of PEP 669: Low Impact Monitoring for CPython ↵Mark Shannon2023-04-121-0/+4
| | | | | | | | | | (GH-103083) * The majority of the monitoring code is in instrumentation.c * The new instrumentation bytecodes are in bytecodes.c * legacy_tracing.c adapts the new API to the old sys.setrace and sys.setprofile APIs
* gh-102859: Remove JUMP_IF_FALSE_OR_POP and JUMP_IF_TRUE_OR_POP (#102870)Irit Katriel2023-03-221-4/+0
|
* gh-102674: Remove _specialization_stats from Lib/opcode.py (#102685)Dong-hee Na2023-03-141-2/+1
| | | It's not use except in a test, so move it there instead.
* GH-98686: Get rid of "adaptive" and "quick" instructions (GH-99182)Brandt Bucher2022-11-091-3/+4
|
* GH-96793: Change `FOR_ITER` to not pop the iterator on exhaustion. (GH-96801)Mark Shannon2022-10-271-1/+1
| | | | Change FOR_ITER to have the same stack effect regardless of whether it branches or not. Performance is unchanged as FOR_ITER (and specialized forms jump over the cleanup code).
* gh-94216: add pseudo instructions to the dis/opcodes modules (GH-94241)Irit Katriel2022-07-011-3/+6
|
* gh-90997: bpo-46841: Disassembly of quickened code (GH-32099)penguin_wwy2022-04-191-2/+2
|
* bpo-46528: Simplify the VM's stack manipulations (GH-30902)Brandt Bucher2022-01-261-1/+0
|
* bpo-46072: Add top level stats struct (GH-30169)Mark Shannon2021-12-171-3/+3
|
* Update test__opcode and _Py_GetSpecializationStats with recent ↵Irit Katriel2021-08-111-2/+4
| | | | specialization stat changes (GH-27728)
* Classify specialization failures. Provides more useful stats, with lower ↵Mark Shannon2021-08-101-3/+2
| | | | overhead. (GH-27701)
* bpo-44725 : expose specialization stats in python (GH-27192)Irit Katriel2021-07-291-0/+27
|
* bpo-40275: Use new test.support helper submodules in tests (GH-21449)Hai Shi2020-08-031-1/+1
|
* bpo-32455: Add jump parameter to dis.stack_effect(). (GH-6610)Serhiy Storchaka2018-09-181-14/+47
| | | | Add C API function PyCompile_OpcodeStackEffectWithJump().
* bpo-33334: Support NOP and EXTENDED_ARG in dis.stack_effect(). (#6566)Serhiy Storchaka2018-04-251-0/+15
| | | Added tests to ensure that all defined opcodes are supported.
* Issue #21741: Update 147 test modules to use test discovery.Zachary Ware2015-04-131-5/+2
| | | | | | | I have compared output between pre- and post-patch runs of these tests to make sure there's nothing missing and nothing broken, on both Windows and Linux. The only differences I found were actually tests that were previously *not* run.
* Don't attempt to run the _opcode test if it wasn't built.Larry Hastings2013-11-241-2/+3
|
* Issue #19722: Added opcode.stack_effect(), which accuratelyLarry Hastings2013-11-231-0/+22
computes the stack effect of bytecode instructions.