getopt: where's da dicts?????

Fred L. Drake, Jr. fdrake at acm.org
Wed Oct 20 09:17:02 EDT 1999


Aahz Maruch writes:
 > Depends whether you allow "-v 1" or "-v1".

Aahz,
  Since the current behavior of getopt is to allow both, I'd be
inclined to keep it that way.  There are lots of applications that
already allow both (Python & otherwise; I don't think it's original
behavior with getopt), I'm inclined to allow both rather than just
one, and wouldn't want optional arguments to screw that up.


  -Fred

--
Fred L. Drake, Jr.	     <fdrake at acm.org>
Corporation for National Research Initiatives




More information about the Python-list mailing list