Author: Philip Jenvey <pjen...@underboss.org> Branch: py3k Changeset: r73190:b08b3a507401 Date: 2014-08-29 12:59 -0700 http://bitbucket.org/pypy/pypy/changeset/b08b3a507401/
Log: fsencode the executable diff --git a/lib_pypy/_tkinter/__init__.py b/lib_pypy/_tkinter/__init__.py --- a/lib_pypy/_tkinter/__init__.py +++ b/lib_pypy/_tkinter/__init__.py @@ -5,6 +5,7 @@ # This version is based on cffi, and is a translation of _tkinter.c # from CPython, version 2.7.4. +import os import sys class TclError(Exception): @@ -54,4 +55,4 @@ return tuple(result) -tklib.Tcl_FindExecutable(sys.executable) +tklib.Tcl_FindExecutable(os.fsencode(sys.executable)) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit