Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r90596:b8f9d7ba084a
Date: 2017-03-08 16:07 +0100
http://bitbucket.org/pypy/pypy/changeset/b8f9d7ba084a/
Log: fix for test_subprocess assuming stat.S_ISDIIR() exists---even
though it only exists in the _stat optional built-in module on
CPython
diff --git a/lib_pypy/_stat.py b/lib_pypy/_stat.py
new file mode 100644
--- /dev/null
+++ b/lib_pypy/_stat.py
@@ -0,0 +1,6 @@
+# Assume not Solaris
+
+S_IFDOOR = 0
+
+def S_ISDOOR(mode):
+ return False
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit