[Python-Dev] Python long command line options (original) (raw)

Heiko Wundram me+python-dev at modelnine.org
Thu May 4 15:51:22 CEST 2006


Am Donnerstag 04 Mai 2006 15:41 schrieb Georg Brandl:

Heiko Wundram wrote: > Your thoughts?

Personally, I'm +1, but wonder if it would be enough to support '--help' and '--version'. We then could cut out the "best guess" code and the code to enable --opt=value.

The code for the above functionality is about 10-12 lines of C of the whole patch.

If there's concensus to remove it, I'll gladly prepare a patch that doesn't contain this, but I don't think it's sensible to do so just because it makes the code shorter. But, the "best guess" functionality most certainly is debatable on other grounds.

--- Heiko.



More information about the Python-Dev mailing list