[Python-Dev] Patch #473512

Martin v. Loewis martin@v.loewis.de
04 Jun 2002 20:34:07 +0200


Guido van Rossum <guido@python.org> writes:

> Is there a point to adding more cruft to getopt.py now that we're
> getting Greg Ward's Optik?

Perhaps ease-of-use - people wanting to use GNU getopt style only need
to change the function name in their existing application.

> Also, I happen to hate GNU style getopt.  You may call me an old
> fogey, but I think options should precede other arguments.

That certainly is debatable. However, since the patch is a pure
addition, every application author will have to make the choice
herself, and no existing application will break.

Regards,
Martin