Add bytecode and disassembly support for Python 3.8.

Also fixes running pymultic from outside of its source directory.
This commit is contained in:
Michael Hansen
2019-02-08 16:06:55 -08:00
parent de78e1b882
commit 428d11c4b5
12 changed files with 419 additions and 267 deletions

View File

@@ -91,6 +91,8 @@ OPCODE(GET_ANEXT)
OPCODE(BEFORE_ASYNC_WITH)
OPCODE(GET_YIELD_FROM_ITER)
OPCODE(GET_AWAITABLE)
OPCODE(BEGIN_FINALLY)
OPCODE(END_ASYNC_FOR)
/* Has parameter word */
OPCODE_A_FIRST(STORE_NAME)
@@ -170,3 +172,5 @@ OPCODE_A(BUILD_STRING)
OPCODE_A(BUILD_TUPLE_UNPACK_WITH_CALL)
OPCODE_A(LOAD_METHOD)
OPCODE_A(CALL_METHOD)
OPCODE_A(CALL_FINALLY)
OPCODE_A(POP_FINALLY)