Irit Katriel <iritkatr...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue43129> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com