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 belopolsky
Recipients belopolsky, benjamin.peterson, cgwalters, cvrebert, dexen, eric.araujo, fperez, mark.dickinson, mcepl, nwerneck, r.david.murray, vstinner
Date 2010-07-27.18:24:08
SpamBayes Score 0.0028170366
Marked as misclassified No
Message-id <1280255050.85.0.490040202757.issue1170@psf.upfronthosting.co.za>
In-reply-to
Content
Fernando,

Is this 2.7 only problem?  In 3.2


>>> list(shlex.shlex('ab'))
['ab']

and bytes are not supported.

>> list(shlex.shlex(b'ab'))
Traceback (most recent call last):
..
AttributeError: 'bytes' object has no attribute 'read'

It is debatable whether either is a bug.
History
Date User Action Args
2010-07-27 18:24:11belopolskysetrecipients: + belopolsky, mark.dickinson, vstinner, dexen, benjamin.peterson, cgwalters, mcepl, eric.araujo, r.david.murray, nwerneck, cvrebert, fperez
2010-07-27 18:24:10belopolskysetmessageid: <1280255050.85.0.490040202757.issue1170@psf.upfronthosting.co.za>
2010-07-27 18:24:08belopolskylinkissue1170 messages
2010-07-27 18:24:08belopolskycreate