Message104299
In Python 2.x, __unicode__ is called instead of __str__. Whether that's "correct" behavior, I'm not sure, but at least it is consistent with "{}".format(K()).
In Python 3.x, __unicode__ doesn't exist and __str__ isn't called; but for "{}".format(K()), it is. Therefore I think here a fix should be made in any case.
Benjamin, what do you think? |
|
Date |
User |
Action |
Args |
2010-04-27 07:09:24 | georg.brandl | set | recipients:
+ georg.brandl, eric.smith, benjamin.peterson, ezio.melotti, steven.daprano, flox |
2010-04-27 07:09:24 | georg.brandl | set | messageid: <1272352164.11.0.437630969062.issue8128@psf.upfronthosting.co.za> |
2010-04-27 07:09:22 | georg.brandl | link | issue8128 messages |
2010-04-27 07:09:22 | georg.brandl | create | |
|