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 cmcqueen1975
Recipients cmcqueen1975, docs@python, ezio.melotti
Date 2010-07-08.07:15:44
SpamBayes Score 0.14530608
Marked as misclassified No
Message-id <1278573346.24.0.0257542666296.issue9196@psf.upfronthosting.co.za>
In-reply-to
Content
Another thing I discovered, for Example 1:
4. If test_object.__str__() returns a Unicode object (for some reason), and test_object.__unicode__() does not exist, then the Unicode value from the __str__() call is used as-is (no conversion to string, no encoding errors). This is also a little surprising [in this situation unicode(test_object) also returns the Unicode object returned by __str__() as-is, so I guess there's some consistency there].
History
Date User Action Args
2010-07-08 07:15:46cmcqueen1975setrecipients: + cmcqueen1975, ezio.melotti, docs@python
2010-07-08 07:15:46cmcqueen1975setmessageid: <1278573346.24.0.0257542666296.issue9196@psf.upfronthosting.co.za>
2010-07-08 07:15:45cmcqueen1975linkissue9196 messages
2010-07-08 07:15:44cmcqueen1975create