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 jwfang
Recipients jwfang
Date 2012-10-10.13:47:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349876824.59.0.894274371181.issue16186@psf.upfronthosting.co.za>
In-reply-to
Content
In [112]: def test_ws(s):
   .....:     sl = shlex.shlex(s)
   .....:     sl.whitespace = "|"
   .....:     sl.whitespace_split = True
   .....:     print list(sl)


In [114]: test_ws("h w")   # works fine
['h w']

In [115]: test_ws("'h' w")  # i expected ["'h' w"] here, but why?
["'h'", ' w']
History
Date User Action Args
2012-10-10 13:47:04jwfangsetrecipients: + jwfang
2012-10-10 13:47:04jwfangsetmessageid: <1349876824.59.0.894274371181.issue16186@psf.upfronthosting.co.za>
2012-10-10 13:47:04jwfanglinkissue16186 messages
2012-10-10 13:47:04jwfangcreate