A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2006-July/067568.html below:

[Python-Dev] logging module broken because of locale

[Python-Dev] logging module broken because of locale [Python-Dev] logging module broken because of localeskip at pobox.com skip at pobox.com
Thu Jul 20 12:09:38 CEST 2006
    Misa> Good point. Does the attached patch look reasonable?

    ...
    Misa> -        self.when = string.upper(when)
    Misa> +        self.when = unicode(when).upper()
    ...

The use of the string module instead of string methods suggests to me that
the logging package attempts to work with older versions of Python.  Looking
at PEP 291 it looks like 1.5.2 compatibility is desired (no string methods,
no unicode).  I think a conscious decision by someone (probably Vinay Sajip)
to give up that compatibility would be required.

Skip
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4