[issue17861] put opcode information in one place

Thomas Wouters report at bugs.python.org
Wed Apr 16 23:34:29 CEST 2014


Thomas Wouters added the comment:

Here's a minimal patch to at least make the current mechanism work when using a separate build directory.

I still don't like the fact that this is importing opcode.py in a different Python than the target Python. Nor do I like that the script hardcodes information about the opcodes (specifically, the first opcode to HAVE_ARGUMENT.) This feels like it's not actually better for maintenance than the previous solution.

----------
assignee:  -> kushal.das
resolution: fixed -> 
status: closed -> open
Added file: http://bugs.python.org/file34930/generate_opcode_h.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17861>
_______________________________________


More information about the Python-bugs-list mailing list