Author: Philip Jenvey <pjen...@underboss.org>
Branch: py3k
Changeset: r84547:17eb2b4a23ee
Date: 2016-05-20 17:18 -0700
http://bitbucket.org/pypy/pypy/changeset/17eb2b4a23ee/

Log:    followup 1a0b1ff00ed7: fsdecode on the way out

diff --git a/pypy/module/_socket/interp_socket.py 
b/pypy/module/_socket/interp_socket.py
--- a/pypy/module/_socket/interp_socket.py
+++ b/pypy/module/_socket/interp_socket.py
@@ -39,7 +39,7 @@
             # Linux abstract namespace
             return space.wrapbytes(path)
         else:
-            return space.wrap(path)
+            return space.wrap_fsdecoded(path)
     elif rsocket.HAS_AF_NETLINK and isinstance(addr, rsocket.NETLINKAddress):
         return space.newtuple([space.wrap(addr.get_pid()),
                                space.wrap(addr.get_groups())])
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to