summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/generate_opcode_h.py
Commit message (Collapse)AuthorAgeFilesLines
* Update opcode.h header comment to mention the source data file (GH-9935)Shivank982018-10-181-2/+3
| | | This is intended to help code explorers find out more about what's defined there.
* Reintroduce Python2 support in generate_opcode_h.pyVictor Stinner2016-11-281-3/+9
| | | | | | Issue #28821. Add also a message to show that the command did something :-)
* Fix a ResourceWarning in generate_opcode_h.pyVictor Stinner2016-11-251-1/+5
| | | | | 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.
* Remove legacy "from __future__ import with_statement" lines.Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-09-081-2/+0
|
* Issue #24288: Generated opcode.h no longer contains trailing spaces and tabs.Serhiy Storchaka2015-05-271-2/+2
|
* Issue #17861: Allow generate_opcode_h to run with a system Python 2.5.Ned Deily2014-04-281-0/+2
| | | | Patch by David Bolen.
* Fix Tools/scripts/generate_opcode_h.py from issue #17861 to work correctlyThomas Wouters2014-04-161-10/+9
| | | | | 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.
* Closes Issue 17861: Autogenerate Include/opcode.h from opcode.py.Kushal Das2014-04-151-0/+53
It includes required changes in Makefile.pre.in and configure.ac among other files.