[issue43129] Number of object on stack required by opcode

Irit Katriel report at bugs.python.org
Fri Feb 5 11:33:12 EST 2021


Irit Katriel <iritkatriel at yahoo.com> added the comment:

stack_effect is implemented in compile.c because it is used there.

If you need something for an application like bytecode, it doesn't need to be in the cpython c code. It can be in the standard library in opcode.py, or even in bytecode library itself. The question is of course how to keep it up to date, and this is pretty much the same problem whether it's part of compile.c, the standard library or an external application.

----------
nosy: +iritkatriel

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43129>
_______________________________________


More information about the Python-bugs-list mailing list