summaryrefslogtreecommitdiffstats
path: root/Python/makeopcodetargets.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-94216: add pseudo instructions to the dis/opcodes modules (GH-94241)Irit Katriel2022-07-011-1/+2
|
* bpo-43760: Check for tracing using 'bitwise or' instead of branch in ↵Mark Shannon2021-10-051-0/+1
| | | | dispatch. (GH-28723)
* bpo-44337: Port LOAD_ATTR to PEP 659 adaptive interpreter (GH-26595)Mark Shannon2021-06-101-0/+5
| | | | | | | | | | | | | | * 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
* makeopcodetargets.py: we need to import Lib/opcode.pyVictor Stinner2016-03-261-1/+21
| | | | | | | | | Issue #20021: use importlib.machinery to import Lib/opcode.py and not an opcode module coming from somewhere else. makeopcodetargets.py is part of the Python build process and it is run by an external Python program, not the built Python program. Patch written by Serhiy Storchaka.
* Modernize Python/makeopcodetargets.pyVictor Stinner2016-03-251-19/+11
| | | | | | | | | * Simply use "import opcode" to import the opcode module instead of tricks using the imp module * Use context manager for the output file * Move code into a new main() function * Replace assert with a regular if to check the number of arguments * Import modules at top level
* excise the remains of STOP_CODE, which hasn't done anything useful for yearsBenjamin Peterson2011-07-181-3/+0
|
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-091-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........
* fix bootstrapping on machines with only 2.x installedBenjamin Peterson2010-03-111-1/+1
|
* convert shebang lines: python -> python3Benjamin Peterson2010-03-111-1/+1
|
* Make Python/makeopcodetargets runnable with Python 2.3. With any luck, thisMark Dickinson2009-01-311-1/+4
| | | | should solve the 'failed compile' on the x86 gentoo 3.x buildbot.
* Add executable property to Python/makeopcodetargets.pyAntoine Pitrou2009-01-271-0/+0
|
* Issue #4753: By enabling a configure option named '--with-computed-gotos'Antoine Pitrou2009-01-251-0/+43
on compilers that support it (notably: gcc, SunPro, icc), the bytecode evaluation loop is compiled with a new dispatch mechanism which gives speedups of up to 20%, depending on the system, on various benchmarks.