Fedora 15 Update: python-unicodenazi-1.1-1.fc15

updates at fedoraproject.org updates at fedoraproject.org
Wed Mar 16 04:09:06 UTC 2011


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2011-3145
2011-03-12 04:22:09
--------------------------------------------------------------------------------

Name        : python-unicodenazi
Product     : Fedora 15
Version     : 1.1
Release     : 1.fc15
URL         : http://pypi.python.org/pypi/unicode-nazi
Summary     : Module that finds unicode/bytestring comparisons and other problems
Description :
A common source of unicode issues in python2 is that code mixes str and unicode
and is valid for the cases the author tests for (because they only test with
ASCII) but then throws an error when the code is used with non-ASCII strings.

If enabled unicodenazi will complain when this mixing of unicode and byte str
occurs.  It's annoying as hell, has a huge runtime impact on performance, and
will also complain about most of the stuff in the Python standard library.  But
it will point out some areas of your code that may traceback in python2 when
given different data and make it easier to migrate to python3 where unicode and
bytes no longer interoperate.

--------------------------------------------------------------------------------
References:

  [ 1 ] Bug #683948 - Review Request: python-unicodenazi - Module that finds unicode/bytestring comparisions and other problems
        https://bugzilla.redhat.com/show_bug.cgi?id=683948
--------------------------------------------------------------------------------

This update can be installed with the "yum" update program.  Use 
su -c 'yum update python-unicodenazi' at the command line.
For more information, refer to "Managing Software with yum",
available at http://docs.fedoraproject.org/yum/.

All packages are signed with the Fedora Project GPG key.  More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------


More information about the package-announce mailing list