On Tue, Jul 18, 2006 at 10:19:54AM -0700, Guido van Rossum wrote: > Alternatively, does "info".upper() == "INFO" everywhere?
Not in the Turkish locale :-( # begin /tmp/foo.py import locale locale.setlocale(locale.LC_ALL, '') print "info".upper() print "info".upper() == "INFO" # end /tmp/foo.py LANG=tr_TR.UTF-8 python /tmp/foo.py iNFO False Thanks, Misa _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com