mirror of
https://github.com/zrax/pycdc.git
synced 2026-06-23 11:34:07 +00:00
Add initial Python 3.14 bytecode support
This commit is contained in:
parent
b428976097
commit
d3bdba9a94
14 changed files with 536 additions and 58 deletions
|
|
@ -182,6 +182,12 @@ void PycModule::setVersion(unsigned int magic)
|
|||
m_unicode = true;
|
||||
break;
|
||||
|
||||
case MAGIC_3_14:
|
||||
m_maj = 3;
|
||||
m_min = 14;
|
||||
m_unicode = true;
|
||||
break;
|
||||
|
||||
/* Bad Magic detected */
|
||||
default:
|
||||
m_maj = -1;
|
||||
|
|
@ -197,7 +203,7 @@ bool PycModule::isSupportedVersion(int major, int minor)
|
|||
case 2:
|
||||
return (minor >= 0 && minor <= 7);
|
||||
case 3:
|
||||
return (minor >= 0 && minor <= 12);
|
||||
return (minor >= 0 && minor <= 14);
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue