Ezio Melotti <ezio.melo...@gmail.com> added the comment:

See also discussion on #5902.

Steffen, your normalization function looks similar to 
encodings.normalize_encoding, with just a few differences (it uses spaces 
instead of dashes, it divides alpha chars from digits).

If it doesn't slow down the normal cases (i.e. 'utf-8', 'utf8', 'latin-1', 
etc.), a more flexible normalization done earlier might be a valid alternative.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11303>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to