Author: Philip Jenvey <[email protected]>
Branch:
Changeset: r84715:614f30ae7e84
Date: 2016-05-26 12:52 -0700
http://bitbucket.org/pypy/pypy/changeset/614f30ae7e84/
Log: restrict to windows
diff --git a/lib_pypy/_subprocess.py b/lib_pypy/_subprocess.py
--- a/lib_pypy/_subprocess.py
+++ b/lib_pypy/_subprocess.py
@@ -4,6 +4,9 @@
subprocess module on Windows.
"""
+import sys
+if sys.platform != 'win32':
+ raise ImportError("The '_subprocess' module is only available on Windows")
# Declare external Win32 functions
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit