[Python-Dev] Re: [getopt-sig] Adding Optik to the standard library

Barry A. Warsaw barry@zope.com
Thu, 30 May 2002 16:37:55 -0400


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

    GvR> we'd be writing

    GvR>     from OptionParser import OptionParser

    GvR> I like this!

    GvR> This works best if it is a single file; making OptionParser a
    GvR> package would just complicate things.  So maybe I should take
    GvR> Greg up on his offer to refactor the code into a single .py
    GvR> file.

    GvR> (Barry prefers that there's only one class per file;
    GvR> fortunately I don't have that hangup. :-)

If OptionParser were to be a package with lots of public classes then
yah, I'd be (more of a) neurotic noodge about it, but as it is...

+1 !

:)
-Barry