Craig McQueen <pyt...@craig.mcqueen.id.au> added the comment:

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].

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9196>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to