[Python-Dev] [Python-checkins] cpython (3.3): Add -b and -X options to python man page. (original) (raw)

Nick Coghlan ncoghlan at gmail.com
Tue Jun 25 01:43:40 CEST 2013


On 25 Jun 2013 09:03, "Steven D'Aprano" <steve at pearwood.info> wrote:

On Tue, Jun 25, 2013 at 12:28:09AM +0200, Victor Stinner wrote: > 2013/6/24 R. David Murray <rdmurray at bitdance.com>: > > There is one. -X faulthandler. I'm sure others would agree about > > -O, but that long predates -X. > > FYI I didn't chose "-X" because it is specific to CPython, but just > because it becomes really hard to choose a random letter to add a new > option... I prefer long options, but Python only supports the long > option --help. Is that a policy though? Couldn't Python support long options, or is it prohibited?

Just impractical. It will likely be more feasible to support them in a maintainable way once PEP 432 is done and we can lean on the C API more heavily while processing command line arguments.

Cheers, Nick.

-- Steven


Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20130625/06670c9d/attachment.html>



More information about the Python-Dev mailing list