[Python-Dev] Adding Optik to 2.3 standard library (original) (raw)

Barry A. Warsaw barry@zope.com
Sun, 14 Apr 2002 18🔞42 -0400


"AK" == Andrew Kuchling <akuchlin@mems-exchange.org> writes:

>> Yes.  Move getopt.py to getopt/_getopt.py and put this in
>> getopt/__init__.py:

AK> Why not just put the code in getopt/__init__.py, or in a
AK> submodule of getopt/ ?  Tidier that way...

You could do the former, but if you did the latter, you'd still need to map those names to the getopt package, for backwards compatibility.

-Barry