[pypy-commit] pypy py3k: need unicode0_w here

pjenvey pypy.commits at gmail.com
Wed May 25 20:24:53 EDT 2016


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r84690:f14ee124ee8c
Date: 2016-05-25 17:23 -0700
http://bitbucket.org/pypy/pypy/changeset/f14ee124ee8c/

Log:	need unicode0_w here

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
@@ -142,7 +142,7 @@
             "can't specify None for path argument")
     if _WIN32:
         try:
-            path_u = space.unicode_w(w_value)
+            path_u = space.unicode0_w(w_value)
             return Path(-1, None, path_u, w_value)
         except OperationError:
             pass


More information about the pypy-commit mailing list