Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r84716:bf1da7965176
Date: 2016-05-26 12:52 -0700
http://bitbucket.org/pypy/pypy/changeset/bf1da7965176/
Log: merge default
diff --git a/lib_pypy/_winapi.py b/lib_pypy/_winapi.py
--- a/lib_pypy/_winapi.py
+++ b/lib_pypy/_winapi.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