Case sensitivity

Mike Meyer mwm at
Sun Feb 23 18:01:29 CET 2003

"Terry Reedy" <tjreedy at> writes:
> "Alex Martelli" <aleax at> wrote in message
> news:wxH5a.215215$0v.6019898 at
> > I don't want the compiler to "guess what I _mean_"
> How about an editor that guessed that rawinput (with whatever
> capitalization) or Raw_input (or any other variant) might mean
> raw_input and ask, at least once?  Similarly for StringIO?  Given that
> Python 2, at least, will not go case insensitive, perhaps there is a
> technical solution that would help most everybody.

Why limit it to an editor? How about a hook you could install
interactively - like readline - that would catch exceptions and offer
to let you change the names on the fly? Or maybe add it to pdb?

Mike Meyer <mwm at>
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

More information about the Python-list mailing list