Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7c84b10

Browse files
authored
really remove versions below 3.6 (#1230)
1 parent1f26a51 commit7c84b10

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

‎src/perf_tests/Python.PerformanceTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</ItemGroup>
2929

3030
<TargetName="GetRuntimeLibBuildOutput"BeforeTargets="Build">
31-
<MSBuildProjects="..\runtime\Python.Runtime.15.csproj"Properties="PYTHONNET_PY3_VERSION=PYTHON35;Configuration=$(Configuration);TargetFramework=net40;Python3Version=PYTHON35;OutputPath=bin\for_perf\">
31+
<MSBuildProjects="..\runtime\Python.Runtime.15.csproj"Properties="PYTHONNET_PY3_VERSION=PYTHON38;Configuration=$(Configuration);TargetFramework=net40;Python3Version=PYTHON38;OutputPath=bin\for_perf\">
3232
<OutputTaskParameter="TargetOutputs"ItemName="NewPythonRuntime" />
3333
</MSBuild>
3434
</Target>

‎src/runtime/runtime.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,14 @@ public class Runtime
4343
#error You must define either UCS2 or UCS4!
4444
#endif
4545

46-
#ifPYTHON34
47-
conststring_minor="4";
48-
#elifPYTHON35
49-
conststring_minor="5";
50-
#elifPYTHON36
46+
#ifPYTHON36
5147
conststring_minor="6";
5248
#elifPYTHON37
5349
conststring_minor="7";
5450
#elifPYTHON38
5551
conststring_minor="8";
5652
#else
57-
#error You must define one ofPYTHON34 to PYTHON38
53+
#error You must define one ofPYTHON36 to PYTHON38
5854
#endif
5955

6056
#ifWINDOWS

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp