Author: Philip Jenvey <[email protected]>
Branch: 
Changeset: r84649:13d2662d8896
Date: 2016-05-23 18:47 -0700
http://bitbucket.org/pypy/pypy/changeset/13d2662d8896/

Log:    fix accepting None and tuples

diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py
--- a/rpython/rlib/rposix.py
+++ b/rpython/rlib/rposix.py
@@ -1928,6 +1928,7 @@
         [rffi.CCHARP, TIMEVAL2P], rffi.INT,
         save_err=rffi.RFFI_SAVE_ERRNO)
 
+    @specialize.argtype(1)
     def lutimes(pathname, times):
         if times is None:
             error = c_lutimes(pathname, lltype.nullptr(TIMEVAL2P.TO))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to