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.15891515
Marked as misclassified No
Message-id <1193015004.73.0.0232656348814.issue1308@psf.upfronthosting.co.za>
In-reply-to
Content
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. :-)

Regards,
..jim
History
Date User Action Args
2007-10-22 01:03:25jgsacksetspambayes_score: 0.158915 -> 0.15891515
recipients: + jgsack, loewis
2007-10-22 01:03:24jgsacksetspambayes_score: 0.158915 -> 0.158915
messageid: <1193015004.73.0.0232656348814.issue1308@psf.upfronthosting.co.za>
2007-10-22 01:03:24jgsacklinkissue1308 messages
2007-10-22 01:03:24jgsackcreate