Author: Armin Rigo <[email protected]>
Branch:
Changeset: r81408:6830874c9e26
Date: 2015-12-20 13:08 +0100
http://bitbucket.org/pypy/pypy/changeset/6830874c9e26/
Log: translation fix in some cases
diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py
--- a/rpython/rlib/rposix.py
+++ b/rpython/rlib/rposix.py
@@ -415,6 +415,7 @@
@replace_os_function('open')
@specialize.argtype(0)
+@enforceargs(None, int, int, typecheck=False)
def open(path, flags, mode):
if _prefer_unicode(path):
fd = c_wopen(_as_unicode0(path), flags, mode)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit