Message 200862 - Python tracker

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.

Content
parse_args() would see ['-foo', 'bar1,bar2,bar3', 'pos1', 'pos2'].  The splitting on space is done by the shell.  So having your own code split 'bar1,bar2,bar3' is simplest.  But that would be messed up if the user entered 'bar1, bar2, bar3...'.  You could also ask the user to use quotes - "bar1, bar2, bar3".