added python 3.10 support

This commit is contained in:
GawdOfROFL
2021-10-10 00:52:41 +05:30
parent fd6985370d
commit e4e3a9f4ed
7 changed files with 132 additions and 3 deletions

View File

@@ -35,6 +35,7 @@ DECLARE_PYTHON(3, 6)
DECLARE_PYTHON(3, 7)
DECLARE_PYTHON(3, 8)
DECLARE_PYTHON(3, 9)
DECLARE_PYTHON(3, 10)
const char* Pyc::OpcodeName(int opcode)
{
@@ -101,6 +102,7 @@ int Pyc::ByteToOpcode(int maj, int min, int opcode)
case 7: return python_37_map(opcode);
case 8: return python_38_map(opcode);
case 9: return python_39_map(opcode);
case 10: return python_310_map(opcode);
}
break;
}