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 ned.deily
Recipients docs@python, jgors, ned.deily
Date 2019-11-05.10:49:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572950947.78.0.945999930066.issue38690@roundup.psfhosted.org>
In-reply-to
Content
That's an interesting question.  There is much prior art here dating back to the earliest days of Unix.  The Open Group Base Specification has a section dealing with the syntax of utility arguments with suggestions of when or when not a space between the option and the option argument is needed and how to document the difference, i.e.

[-c option_argument] vs [-f[option_argument]]
 
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html#tag_12_01

It looks like the Python man page already sort of uses this syntax but the Python Setup and Usage doc may have different conventions.  If someone wants to pursue this, they might check all the options and provide a PR with any needed updates to the man page and the doc page.  A change in behavior of the command option processing is probably not a good idea at this point unless there is some demonstrable error or ambiguity.
History
Date User Action Args
2019-11-05 10:49:07ned.deilysetrecipients: + ned.deily, docs@python, jgors
2019-11-05 10:49:07ned.deilysetmessageid: <1572950947.78.0.945999930066.issue38690@roundup.psfhosted.org>
2019-11-05 10:49:07ned.deilylinkissue38690 messages
2019-11-05 10:49:07ned.deilycreate