@@ -729,19 +729,20 @@ def __by_version(magic_versions: Dict[bytes, str]) -> dict:
729729# Paritally compensate for one magic for two Graal Python versions:
730730version2magicint ["3.12.8Graal" ].append (21290 )
731731
732-
733-
734732# Jython uses JVM bytecode, not CPython PyPy bytecode.
735733add_magic_from_int (1011 , "2.7.1b3Jython" ) # Jython 2.7.2b3
736734add_magic_from_int (65226 , "2.7.4Jython" ) # Jython 2.7.4
737735
738736# Pyston
739737add_magic_from_int (22138 , "2.7.7Pyston" ) # 2.7.8pyston, pyston-0.6.0
740738
741- magics = __by_version (versions )
739+ magics : Dict [ str , bytes ] = __by_version (versions )
742740magics ["3.8.12PyPy" ] = magics ["3.8.0rc1+" ]
743741magics ["3.9.15PyPy" ] = magics ["3.9.0alpha1" ]
744742magics ["3.9.16PyPy" ] = magics ["3.9.0alpha1" ]
743+ magics ["3.12.Graal" ] = magics ["3.11.7Graal" ]
744+ magics ["3.12.8.Graal" ] = magics ["3.11.7Graal" ]
745+ by_magic [int2magic (21290 )].add ("3.12.8Graal" )
745746
746747# From a Python version given in sys.info, e.g. 3.6.1,
747748# what is the "canonic" version number, e.g. '3.6.0rc1'
@@ -851,12 +852,12 @@ def add_canonic_versions(release_versions: str, canonic: str) -> None:
851852)
852853
853854add_canonic_versions (
854- "3.13 3.13.0 3.13.1 3.13.2 3.13.3 3.13.4 3.13.5 3.13.6 3.13.7 3.13.8 3.13.9 3.13.10 3.13.11" ,
855+ "3.13 3.13.0 3.13.1 3.13.2 3.13.3 3.13.4 3.13.5 3.13.6 3.13.7 3.13.8 3.13.9 3.13.10 3.13.11 3.13.12 " ,
855856 "3.13.0rc3" ,
856857)
857858
858859add_canonic_versions ("3.14-dev" , "3.14b3" )
859- add_canonic_versions ("3.14 3.14.0 3.14.1, 3.14.2" , "3.14rc3" )
860+ add_canonic_versions ("3.14 3.14.0 3.14.1, 3.14.2 3.14.3 " , "3.14rc3" )
860861
861862add_canonic_versions (
862863 "3.15 3.15.0 3.15.0a1 3.15.0a0" ,
0 commit comments