This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients ezio.melotti, flox, loewis
Date 2011-11-06.22:46:37
SpamBayes Score 2.7173028e-06
Marked as misclassified No
Message-id <4EB70E40.2020902@v.loewis.de>
In-reply-to <1320615792.75.0.341796553059.issue13360@psf.upfronthosting.co.za>
Content
> 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.

That's a bug in the application. You must not mix byte strings
and unicode strings as dictionary keys. Whether or not the warning
is produced: the behavior would still be fairly unpredictable, and
vary with Python versions.

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

This warning is deliberate. It tells the developer that something
is broken about this application.
History
Date User Action Args
2011-11-06 22:46:38loewissetrecipients: + loewis, ezio.melotti, flox
2011-11-06 22:46:37loewislinkissue13360 messages
2011-11-06 22:46:37loewiscreate