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 peter.otten
Recipients max, peter.otten
Date 2019-01-20.10:33:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547980383.91.0.265273665756.issue35787@roundup.psfhosted.org>
In-reply-to
Content
To me the current shlex behaviour makes sense, and the shell (tested with bash) behaves the same way:

$ python3 -c 'import sys; print(sys.argv)' a   b
['-c', 'a', 'b']
$ python3 -c 'import sys; print(sys.argv)' a \  b
['-c', 'a', ' ', 'b']
History
Date User Action Args
2019-01-20 10:33:05peter.ottensetrecipients: + peter.otten, max
2019-01-20 10:33:03peter.ottensetmessageid: <1547980383.91.0.265273665756.issue35787@roundup.psfhosted.org>
2019-01-20 10:33:03peter.ottenlinkissue35787 messages
2019-01-20 10:33:03peter.ottencreate