Author: Philip Jenvey <pjen...@underboss.org>
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
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to