david reid <mail at david-reid.com> added the comment: The patch is inline. There's not much to it :-) Agree with your suggestion to avoid calling lower() twice. __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue2695> __________________________________