[issue13360] UnicodeWarning raised on sequence and set comparisons

Florent Xicluna report at bugs.python.org
Sun Nov 6 22:43:12 CET 2011


Florent Xicluna <florent.xicluna at gmail.com> added the comment:

Often sequences or sets have heterogeneous keys, mixing <str> and <unicode>, and in this case there's no easy way to work with them without raising this UnicodeWarning.
The "logging" module is such an example.

Of course it is only a warning, not a strong annoyance.

----------
title: UnicodeWarning raised on dict() and set() -> UnicodeWarning raised on sequence and set comparisons

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13360>
_______________________________________


More information about the Python-bugs-list mailing list