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 fenner
Recipients fenner
Date 2009-09-24.14:00:34
SpamBayes Score 7.0404475e-08
Marked as misclassified No
Message-id <1253800835.52.0.0608970540856.issue6988@psf.upfronthosting.co.za>
In-reply-to
Content
A colleague pointed out that the bad behavior was introduced in 2.5.2:

Python 2.5.2 (r252:60911, Sep 30 2008, 15:42:03) 
[GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import shlex
>>> shlex.split( u"Hello, World!" )
['H\x00\x00\x00e\x00\x00\x00l\x00\x00\x00l\x00\x00\x00o\x00\x00\x00,\x00\x00\x00',
'\x00\x00\x00W\x00\x00\x00o\x00\x00\x00r\x00\x00\x00l\x00\x00\x00d\x00\x00\x00!\x00\x00\x00']
History
Date User Action Args
2009-09-24 14:00:36fennersetrecipients: + fenner
2009-09-24 14:00:35fennersetmessageid: <1253800835.52.0.0608970540856.issue6988@psf.upfronthosting.co.za>
2009-09-24 14:00:34fennerlinkissue6988 messages
2009-09-24 14:00:34fennercreate