[Python-Dev] Re: [Python-checkins] python/dist/src/Lib getopt.py,1.17,1.18

Martin v. Löwis loewis@informatik.hu-berlin.de
06 Jun 2002 20:16:10 +0200


Neal Norwitz <neal@metaslash.com> writes:

> For additions to the stdlib, should we try to make sure new features
> are used?  In the above code, type(longopts) ... ->
> isinstance(longopts, str) (or basestring?) and all_options_first
> could be a bool.

Done. It really should be ,str), since Unicode in command line options
is not yet support (although they should be, since, on Windows,
command line options are "natively" Unicode).

Regards,
Martin