[pypy-commit] pypy default: fix accepting None and tuples
pjenvey
pypy.commits at gmail.com
Mon May 23 21:50:24 EDT 2016
Author: Philip Jenvey <pjenvey at underboss.org>
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))
More information about the pypy-commit
mailing list