This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients ezio.melotti, piro, r.david.murray, ronaldoussoren, vstinner
Date 2010-10-22.01:03:07
SpamBayes Score 1.397403e-07
Marked as misclassified No
Message-id <1287709390.24.0.712161685757.issue9167@psf.upfronthosting.co.za>
In-reply-to
Content
rdmurray@buddy:~/python/py3k>uname -a
Darwin buddy.home.bitdance.com 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386


rdmurray@buddy:~/python/release31-maint>LC_ALL="C" ./python.exe
Python 3.1.2 (release31-maint:85783, Oct 21 2010, 20:31:06)
[GCC 4.2.1 (Apple Inc. build 5659)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os, sys
>>> snowman = '\u2603'
>>> os.system(sys.executable + " -c 'import sys; [print(a.encode(\"utf8\")) for a in sys.argv]' foo bar " + snowman)
b'-c'
b'foo'
b'bar'
b'\xc3\xa2\xc2\x98\xc2\x83'
0


rdmurray@buddy:~/python/py3k>LC_ALL="C" ./python.exe 
Python 3.2a3+ (py3k:85768, Oct 21 2010, 12:31:12) 
[GCC 4.2.1 (Apple Inc. build 5659)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os, sys
>>> snowman = '\u2603'
>>> os.system(sys.executable + " -c 'import sys; [print(a.encode(\"utf8\")) for a in sys.argv]' foo bar " + snowman)
b'-c'
b'foo'
b'bar'
b'\xe2\x98\x83'
0
History
Date User Action Args
2010-10-22 01:03:10r.david.murraysetrecipients: + r.david.murray, ronaldoussoren, vstinner, piro, ezio.melotti
2010-10-22 01:03:10r.david.murraysetmessageid: <1287709390.24.0.712161685757.issue9167@psf.upfronthosting.co.za>
2010-10-22 01:03:08r.david.murraylinkissue9167 messages
2010-10-22 01:03:07r.david.murraycreate