Add initial 3.7 alpha support, and fix 3.6 opcode map

This commit is contained in:
Michael Hansen
2017-12-20 13:15:03 -08:00
parent b9dd99d518
commit 98ad031109
9 changed files with 336 additions and 196 deletions

View File

@@ -139,6 +139,12 @@ void PycModule::setVersion(unsigned int magic)
m_unicode = true;
break;
case MAGIC_3_7:
m_maj = 3;
m_min = 7;
m_unicode = true;
break;
/* Bad Magic detected */
default:
m_maj = -1;