(original) (raw)


On 25 Jun 2013 09:03, "Steven D'Aprano" <steve@pearwood.info> wrote:
\>
\> On Tue, Jun 25, 2013 at 12:28:09AM +0200, Victor Stinner wrote:
\> > 2013/6/24 R. David Murray <rdmurray@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@python.org
\> http://mail.python.org/mailman/listinfo/python-dev
\> Unsubscribe: http://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com