Florent Xicluna added the comment:
Then we'll live with it, or work around when it's possible.
For the purists, hopefully we have Python 3 which allows to mix bytes and
strings in a set().
--
resolution: -> rejected
status: open -> closed
___
Pytho
Martin v. Löwis added the comment:
> Often sequences or sets have heterogeneous keys, mixing and
> , and in this case there's no easy way to work with them
> without raising this UnicodeWarning.
That's a bug in the application. You must not mix byte strings
and unicode strings as dictionary ke
Florent Xicluna added the comment:
Often sequences or sets have heterogeneous keys, mixing and ,
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.
-