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

Courageous jkraska at san.rr.com
Tue Feb 12 03:15:41 CET 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