[Python-checkins] cpython (merge 3.3 -> default): (3.3->default) Issue #12990: The "Python Launcher" on OSX could not launch

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


http://hg.python.org/cpython/rev/b6ebc726d5fe
changeset:   84459:b6ebc726d5fe
parent:      84456:7be081fa8db1
parent:      84458:27eb350d5056
user:        Ronald Oussoren <ronaldoussoren at mac.com>
date:        Sat Jul 06 13:25:44 2013 +0200
summary:
  (3.3->default) 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                       |  6 ++++++
  2 files changed, 7 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
@@ -599,6 +599,12 @@
 - Issue #15172: Document NASM 2.10+ as requirement for building OpenSSL 1.0.1
   on Windows.
 
+Tools/Demos
+-----------
+
+- Issue #12990: The "Python Launcher" on OSX could not launch python scripts
+  that have paths that include wide characters.
+
 What's New in Python 3.3.1 release candidate 1?
 ===============================================
 

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


More information about the Python-checkins mailing list