[pypy-commit] pypy default: restrict to windows
pjenvey
pypy.commits at gmail.com
Thu May 26 15:53:55 EDT 2016
Author: Philip Jenvey <pjenvey at underboss.org>
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
More information about the pypy-commit
mailing list