squirro/guess_language — pull request #1 by swagten (2012-09-25 07:00:08+00:00)
Title: sq1946 - Unicodedata normalization and Python 2.6.6

- Sometimes the unicodedata.normalize(NFC, text) causes a core dump
with Python 2.6.6 (and only that version). This function sometimes
also produces incorrect results with the same version.
To overcome this problem - until we've upgraded to a version newer
than 2.6.6 - the unicodedata.normalize() step is skipped when using
Python 2.6.6. For the guessing process this seems to be no problem.
- Made both files (guess_language.py and guess_language_test.py) more
pep8-compliant.