summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2013-07-06 11:25:44 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2013-07-06 11:25:44 (GMT)
commit361b28dbd4cbfd80bc95d1926432fabfddc0892c (patch)
tree164fc81792497baec73397bd851d6e140427af76
parent8624ed502ff5ff1ccaf5fba58e945611e6758d97 (diff)
parentfd1c69e2a497f685374caa1133c47fa51e8030e5 (diff)
downloadcpython-361b28dbd4cbfd80bc95d1926432fabfddc0892c.zip
cpython-361b28dbd4cbfd80bc95d1926432fabfddc0892c.tar.gz
cpython-361b28dbd4cbfd80bc95d1926432fabfddc0892c.tar.bz2
(3.3->default) Issue #12990: The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters.
-rwxr-xr-xMac/PythonLauncher/MyDocument.m2
-rw-r--r--Misc/NEWS6
2 files changed, 7 insertions, 1 deletions
diff --git a/Mac/PythonLauncher/MyDocument.m b/Mac/PythonLauncher/MyDocument.m
index 86112c4..8f851e7 100755
--- 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
index 564590c..0cdd349 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -599,6 +599,12 @@ Build
- 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?
===============================================