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

@@ -31,6 +31,7 @@ DECLARE_PYTHON(3, 4)
DECLARE_PYTHON(3, 5)
DECLARE_PYTHON(3, 6)
DECLARE_PYTHON(3, 7)
DECLARE_PYTHON(3, 8)
const char* Pyc::OpcodeName(int opcode)
{
@@ -95,6 +96,7 @@ int Pyc::ByteToOpcode(int maj, int min, int opcode)
case 5: return python_35_map(opcode);
case 6: return python_36_map(opcode);
case 7: return python_37_map(opcode);
case 8: return python_38_map(opcode);
}
break;
}