summaryrefslogtreecommitdiffstats
path: root/Python/makeopcodetargets.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.