Message96325
Here is a new patch (issue6108-3.patch) that checks if __str__ has been
overridden and calls PyObject_Unicode(PyObject_Str(self)).
All the tests (including the one with KeyError) in
issue6108_testcase.diff now pass.
If the patch is OK I'll make sure that the tests cover all the possible
cases that I listed and possibly add a few more before the commit. |
|
Date |
User |
Action |
Args |
2009-12-13 06:01:57 | ezio.melotti | set | recipients:
+ ezio.melotti, barry, exarkun, ncoghlan, pitrou, rbcollins, cvrebert |
2009-12-13 06:01:56 | ezio.melotti | set | messageid: <1260684116.84.0.591665886631.issue6108@psf.upfronthosting.co.za> |
2009-12-13 06:01:52 | ezio.melotti | link | issue6108 messages |
2009-12-13 06:01:52 | ezio.melotti | create | |
|