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 jgsack
Recipients jgsack, loewis
Date 2007-10-22.01:03:24
SpamBayes Score 0.158915
Marked as misclassified No
Message-id <>
Here's more:

>>> unicode(object)
u"<type 'object'>"

There seems to be an call to repr() somewhere in the process.

This seems, at least to me, to violate the principle of least surprise, and 
I'm thinking that unicode(x) ought to return UnicodeDecodeError if x is not 
a string. 

Maybe this is argueable. If so, I'd like to be educated. :-)

Date User Action Args
2007-10-22 01:03:25jgsacksetspambayes_score: 0.158915 -> 0.158915
recipients: + jgsack, loewis
2007-10-22 01:03:24jgsacksetspambayes_score: 0.158915 -> 0.158915
messageid: <>
2007-10-22 01:03:24jgsacklinkissue1308 messages
2007-10-22 01:03:24jgsackcreate