[issue19722] Expose stack effect calculator to Python

Larry Hastings report at bugs.python.org
Sat Nov 23 01:51:47 CET 2013


Larry Hastings added the comment:

stack_effect will never know about EXTENDED_ARG.  Instead, you simply pass the already-extended arg as the second argument. 

Making the second argument support a default of None will be slightly inconvenient, but I'll do it if you think it's a big improvement.

Considering how troublesome it was to recreate this information when I wrote my assembler, I definitely think this information should be exported out of the murky heart of Python.

----------

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


More information about the Python-bugs-list mailing list