Hi - I have a cross-version Python bytecode disassembler xdis ( https://pypi.org/project/xdis/) and I notice that flags 0x0100 and 0x0200 (DONT_IMPLY_DEDENT and SOURCE_IS_UTF8 respectively) conflict in Pypy 3.6 with Python 3.6's ITERABLE_COROUTINE and ASYNC_GENERATOR.
However in pypy3.6-7.2.0, inspect.CO_ITERABLE_COROUTINE and inspect.CO_ASYNC_GENERATOR are defined to their Python 3.6 values. So what should a disassembler do which it sees 0x0100 as a flag in a code object? Does that reflect the PyPy meaning or the 3.6 meaning? And how can one tell if the code has the other property? Thanks.
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev