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 serhiy.storchaka
Recipients Julian, SilentGhost, benjamin.peterson, docs@python, eric.araujo, guettli, martin.panter, paul.j3, serhiy.storchaka, vstinner
Date 2016-01-28.10:07:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453975620.65.0.540213975078.issue20598@psf.upfronthosting.co.za>
In-reply-to
Content
Using str.split() for splitting full command line on arguments is anti-idiom. More correct way is to use shlex. But this is overkill for argparse examples (and in most cases we already have a list sys.argv). Explicit lists look clear enough.

The patch LGTM.
History
Date User Action Args
2016-01-28 10:07:00serhiy.storchakasetrecipients: + serhiy.storchaka, guettli, vstinner, benjamin.peterson, eric.araujo, SilentGhost, docs@python, Julian, martin.panter, paul.j3
2016-01-28 10:07:00serhiy.storchakasetmessageid: <1453975620.65.0.540213975078.issue20598@psf.upfronthosting.co.za>
2016-01-28 10:07:00serhiy.storchakalinkissue20598 messages
2016-01-28 10:07:00serhiy.storchakacreate