projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14a1cdb
)
Force Python 3.7 for superpmi.py (#603)
author
Bruce Forstall
<brucefo@microsoft.com>
Fri, 6 Dec 2019 05:56:22 +0000
(21:56 -0800)
committer
GitHub
<noreply@github.com>
Fri, 6 Dec 2019 05:56:22 +0000
(21:56 -0800)
Async doesn't work well on Windows before this.
src/coreclr/scripts/superpmi.py
patch
|
blob
|
history
diff --git
a/src/coreclr/scripts/superpmi.py
b/src/coreclr/scripts/superpmi.py
index
e05cb14
..
23a1c6e
100755
(executable)
--- a/
src/coreclr/scripts/superpmi.py
+++ b/
src/coreclr/scripts/superpmi.py
@@
-2142,10
+2142,10
@@
def main(args):
""" Main method
"""
- # await/async requires python >= 3.
5
- if sys.version_info.major < 3 and sys.version_info.minor <
5
:
+ # await/async requires python >= 3.
7
+ if sys.version_info.major < 3 and sys.version_info.minor <
7
:
print("Error, language features require the latest python version.")
- print("Please install python 3.
8
or greater")
+ print("Please install python 3.
7
or greater")
return 1