<p dir="ltr"><br>
On 25 Jun 2013 09:03, "Steven D'Aprano" <<a href="mailto:steve@pearwood.info">steve@pearwood.info</a>> wrote:<br>
><br>
> On Tue, Jun 25, 2013 at 12:28:09AM +0200, Victor Stinner wrote:<br>
> > 2013/6/24 R. David Murray <<a href="mailto:rdmurray@bitdance.com">rdmurray@bitdance.com</a>>:<br>
> > > There is one.  -X faulthandler.  I'm sure others would agree about<br>
> > > -O, but that long predates -X.<br>
> ><br>
> > FYI I didn't chose "-X" because it is specific to CPython, but just<br>
> > because it becomes really hard to choose a random letter to add a new<br>
> > option... I prefer long options, but Python only supports the long<br>
> > option --help.<br>
><br>
> Is that a policy though? Couldn't Python support long options, or is it<br>
> prohibited?</p>
<p dir="ltr">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.</p>
<p dir="ltr">Cheers,<br>
Nick.</p>
<p dir="ltr">><br>
><br>
> --<br>
> Steven<br>
> _______________________________________________<br>
> Python-Dev mailing list<br>
> <a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
> <a href="http://mail.python.org/mailman/listinfo/python-dev">http://mail.python.org/mailman/listinfo/python-dev</a><br>
> Unsubscribe: <a href="http://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com">http://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com</a><br>
</p>