Yury Selivanov added the comment: Larry, Nick,
Attached patch exposes CO* constants in the '_opcode' module. There is one slight complication though: importing '_opcode' in 'types' (required for issue24400) breaks Python compilation, as 'types' module is used by many tools at the point where '_opcode' module isn't yet compiled. We should either make '_opcode' compiled earlier or move constants to the 'sys' module. ---------- Added file: http://bugs.python.org/file39752/opcode.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24468> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com