Add MAGIC_NUMBER for Python 3.5.3

See https://bugs.python.org/issue27286 for details.
This commit is contained in:
Dhiru Kholia
2017-04-09 18:06:52 +05:30
parent a690d22822
commit da6571587b
3 changed files with 6 additions and 2 deletions

View File

@@ -125,6 +125,9 @@ void PycModule::setVersion(unsigned int magic)
break;
case MAGIC_3_5:
/* fall through */
case MAGIC_3_5_3:
m_maj = 3;
m_min = 5;
m_unicode = true;