[Python-Dev] RE: RFC: Option Parsing Libraries

Courageous jkraska at san.rr.com
Mon Feb 11 21:15:41 EST 2002


>Interesting idea; should be trivial given a case-insensitive dictionary.

The smallest of changes to the hashing and matching algorithms should
do it. It might be better to downcase everything pertinent as its lexed,
however. For that matter, one might simply enforce lower case and issue
a syntax error whenever an upper case letter is encountered. :)

C//




More information about the Python-list mailing list