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 laukpe
Recipients
Date 2007-08-21.14:03:01
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Fredrik, you are obviously correct that most operations between normal and unicode strings don't work if the normal string contains non-ascii data.

I still do think that a UnicodeWarning like you get from "chr(128) == u'foo'" would be nicer than an exception and prevent problems like the one in telnetlib [1]. If an exception is raised I don't care too much about its type but a better message would make debugging possible problems easier.

[1] https://sourceforge.net/tracker/index.php?func=detail&aid=1772794&group_id=5470&atid=105470
History
Date User Action Args
2007-08-23 14:59:11adminlinkissue1772788 messages
2007-08-23 14:59:11admincreate