Message109517
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]. |
|
Date |
User |
Action |
Args |
2010-07-08 07:15:46 | cmcqueen1975 | set | recipients:
+ cmcqueen1975, ezio.melotti, docs@python |
2010-07-08 07:15:46 | cmcqueen1975 | set | messageid: <1278573346.24.0.0257542666296.issue9196@psf.upfronthosting.co.za> |
2010-07-08 07:15:45 | cmcqueen1975 | link | issue9196 messages |
2010-07-08 07:15:44 | cmcqueen1975 | create | |
|