Author: Alex Gaynor <[email protected]>
Branch: 
Changeset: r72299:9d5d4149f2a5
Date: 2014-06-30 12:34 -0700
http://bitbucket.org/pypy/pypy/changeset/9d5d4149f2a5/

Log:    Temporary translation fix

diff --git a/pypy/module/posix/interp_posix.py 
b/pypy/module/posix/interp_posix.py
--- a/pypy/module/posix/interp_posix.py
+++ b/pypy/module/posix/interp_posix.py
@@ -582,7 +582,7 @@
         else:
             dirname = space.str0_w(w_dirname)
             result = rposix.listdir(dirname)
-            return space.newlist_bytes(result)
+            return space.newlist_bytes(result[:])
     except OSError, e:
         raise wrap_oserror2(space, e, w_dirname)
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to