[Python-checkins] cpython (3.3): Issue #12990: The "Python Launcher" on OSX could not launch python scripts that

ronald.oussoren python-checkins at python.org
Sat Jul 6 13:26:12 CEST 2013


http://hg.python.org/cpython/rev/27eb350d5056
changeset:   84458:27eb350d5056
branch:      3.3
parent:      84455:5bd3f9ed357e
user:        Ronald Oussoren <ronaldoussoren at mac.com>
date:        Sat Jul 06 13:20:57 2013 +0200
summary:
  Issue #12990: The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters.

files:
  Mac/PythonLauncher/MyDocument.m |  2 +-
  Misc/NEWS                       |  3 +++
  2 files changed, 4 insertions(+), 1 deletions(-)


diff --git a/Mac/PythonLauncher/MyDocument.m b/Mac/PythonLauncher/MyDocument.m
--- a/Mac/PythonLauncher/MyDocument.m
+++ b/Mac/PythonLauncher/MyDocument.m
@@ -76,7 +76,7 @@
     const char *cmdline;
     int sts;
     
-     cmdline = [[settings commandLineForScript: script] cString];
+     cmdline = [[settings commandLineForScript: script] UTF8String];
    if ([settings with_terminal]) {
         sts = doscript(cmdline);
     } else {
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -188,6 +188,9 @@
 
 - Issue #15239: Make mkstringprep.py work again on Python 3.
 
+- Issue #12990: The "Python Launcher" on OSX could not launch python scripts
+  that have paths that include wide characters.
+
 Build
 -----
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list