development/languages

python-unicodenazi - Module that finds unicode/bytestring comparisons and other problems

Website: http://pypi.python.org/pypi/unicode-nazi
License: BSD
Vendor: Fedora Project
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.

Packages

python-unicodenazi-1.1-1.el5.src [7 KiB] Changelog by Toshio Kuratomi (2011-03-10):
- Add license file from upstream repo
- Fix a spelling mistake

Listing created by Repoview-0.6.6-1.el6