Add Python 3.2 support

This commit is contained in:
Michael Hansen 2011-01-06 17:15:48 -08:00
commit be6ea32619
9 changed files with 270 additions and 152 deletions

View file

@ -109,6 +109,13 @@ void PycModule::setVersion(unsigned int magic)
m_unicode = true;
break;
/* 3.2 stops using the unicode increment */
case MAGIC_3_2:
m_maj = 3;
m_min = 2;
m_unicode = true;
break;
/* Bad Magic detected */
default:
m_maj = -1;