mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Allow python 3.14 in attach code
This commit is contained in:
parent
cce0ceeeb3
commit
547b72f3fd
1 changed files with 4 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ enum PythonVersion {
|
|||
PythonVersion_311 = 0x030B,
|
||||
PythonVersion_312 = 0x030C,
|
||||
PythonVersion_313 = 0x030D,
|
||||
PythonVersion_314 = 0x030E,
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -78,6 +79,9 @@ static PythonVersion GetPythonVersion(void *module) {
|
|||
if(version[3] == '3'){
|
||||
return PythonVersion_313;
|
||||
}
|
||||
if(version[3] == '4'){
|
||||
return PythonVersion_314;
|
||||
}
|
||||
}
|
||||
return PythonVersion_Unknown; // we don't care about 3.1 anymore...
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue