| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
dispatch. (GH-28723)
|
|
|
|
| |
(#28262)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Specialize LOAD_ATTR with LOAD_ATTR_SLOT and LOAD_ATTR_SPLIT_KEYS
* Move dict-common.h to internal/pycore_dict.h
* Add LOAD_ATTR_WITH_HINT specialized opcode.
* Quicken in function if loopy
* Specialize LOAD_ATTR for module attributes.
* Add specialization stats
|
|
|
|
|
|
|
|
| |
"Zero cost" exception handling.
* Uses a lookup table to determine how to handle exceptions.
* Removes SETUP_FINALLY and POP_TOP block instructions, eliminating (most of) the runtime overhead of try statements.
* Reduces the size of the frame object by about 60%.
|
|
|
|
|
| |
duplicating it in 'compile.c' (GH-21714)
Generate information about jumps from 'opcode.py' rather than duplicate it in 'compile.c'
|
|
|
|
|
|
|
|
| |
Break up COMPARE_OP into four logically distinct opcodes:
* COMPARE_OP for rich comparisons
* IS_OP for 'is' and 'is not' tests
* CONTAINS_OP for 'in' and 'is not' tests
* JUMP_IF_NOT_EXC_MATCH for checking exceptions in 'try-except' statements.
|
|
|
| |
This is intended to help code explorers find out more about what's defined there.
|
|
|
|
|
|
| |
Issue #28821.
Add also a message to show that the command did something :-)
|
|
|
|
|
| |
Use a context manager to close the Python file. Replace also open() with
tokenize.open() to handle coding cookie if any in Lib/opcode.py.
|
| |
|
| |
|
|
|
|
| |
Patch by David Bolen.
|
|
|
|
|
| |
when building in a separate object tree. More people should build this way.
This may still fail if the source is unwritable, I haven't tested that yet.
|
|
It includes required changes in Makefile.pre.in and configure.ac
among other files.
|