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 vstinner
Recipients Lukáš.Němec, ezio.melotti, r.david.murray, serhiy.storchaka, vstinner
Date 2015-03-26.23:04:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427411080.6.0.590587411616.issue23637@psf.upfronthosting.co.za>
In-reply-to
Content
> Only thing required to make this work is add "u" in front of the message so it is unicode.

The warnings module works with non-ASCII characters if you only use bytes strings. I'm not sure that we should enhance it to support the unicode type in some fields, and bytes fields in other fields.

This issue was already fixed in Python 3 with the global switch to Unicode by default for all strings.

I would prefer to not fix this issue.

Since it looks to a new feature, it's also not a good practice to add new features in minor python versions (2.7.x).
History
Date User Action Args
2015-03-26 23:04:40vstinnersetrecipients: + vstinner, ezio.melotti, r.david.murray, serhiy.storchaka, Lukáš.Němec
2015-03-26 23:04:40vstinnersetmessageid: <1427411080.6.0.590587411616.issue23637@psf.upfronthosting.co.za>
2015-03-26 23:04:40vstinnerlinkissue23637 messages
2015-03-26 23:04:40vstinnercreate