[issue24468] Expose C level compiler flag constants to Python code

2015-07-02 Thread Larry Hastings
Larry Hastings added the comment: opcode.patch is okay for 3.5. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24468 ___ ___ Python-bugs-list

[issue24468] Expose C level compiler flag constants to Python code

2015-06-20 Thread Nick Coghlan
Nick Coghlan added the comment: Making _opcode a builtin module rather than an extension module makes more sense to me than adding more random stuff to the sys module. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24468

[issue24468] Expose C level compiler flag constants to Python code

2015-06-19 Thread Nick Coghlan
Nick Coghlan added the comment: Bringing a design discussion back from the code review, since I didn't explain the problem to be solved very well, and instead jumped straight to recommending a specific solution. Currently, dis has a dictionary mapping from hardcoded compiler flag values (in