[issue26647] ceval: use Wordcode, 16-bit bytecode

Demur Rumed report at bugs.python.org
Tue Mar 29 22:29:30 EDT 2016


Demur Rumed added the comment:

To clarify format of extended arg listings: 1st column is the number of instances of EXTENDED_ARG being emitted, 2nd column is length of bytecode, followed by filename

The previous numbers were of modules, which generally are run-once and listing many constants. I've attached a modification where instead I iterated over the code objects inside co_consts from compiling the *.py file. Trunk currently only emits EXTENDED_ARGs for classes (Pdb, & then the rest in Lib/typing.py) so I've omitted it

----------
Added file: http://bugs.python.org/file42325/exarg_in_funcs.txt

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


More information about the Python-bugs-list mailing list