Fix bytecode compatibility with Python 3.7 beta3

This commit is contained in:
Michael Hansen
2018-04-26 14:31:21 -07:00
parent bf60a5831b
commit 0c3955883f
4 changed files with 17 additions and 7 deletions

View File

@@ -29,7 +29,7 @@ enum PycMagic {
MAGIC_3_5 = 0x0A0D0D16,
MAGIC_3_5_3 = 0x0A0D0D17,
MAGIC_3_6 = 0x0A0D0D33,
MAGIC_3_7 = 0x0A0D0D3F,
MAGIC_3_7 = 0x0A0D0D41,
};
#define PYC_VERSION(maj, min) MAGIC_##maj##_##min