summaryrefslogtreecommitdiff
path: root/Python/makeopcodetargets.py
AgeCommit message (Collapse)AuthorLines
2016-03-26makeopcodetargets.py: we need to import Lib/opcode.pyVictor Stinner-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.
2016-03-25Modernize Python/makeopcodetargets.pyVictor Stinner-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
2011-07-17excise the remains of STOP_CODE, which hasn't done anything useful for yearsBenjamin Peterson-3/+0
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-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. ........
2010-03-11fix bootstrapping on machines with only 2.x installedBenjamin Peterson-1/+1
2010-03-11convert shebang lines: python -> python3Benjamin Peterson-1/+1
2009-01-31Make Python/makeopcodetargets runnable with Python 2.3. With any luck, thisMark Dickinson-1/+4
should solve the 'failed compile' on the x86 gentoo 3.x buildbot.
2009-01-27Add executable property to Python/makeopcodetargets.pyAntoine Pitrou-0/+0
2009-01-25Issue #4753: By enabling a configure option named '--with-computed-gotos'Antoine Pitrou-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.