Florent Xicluna <florent.xicl...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue13360> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com