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 ezio.melotti
Recipients barry, cvrebert, exarkun, ezio.melotti, ncoghlan, pitrou, rbcollins
Date 2009-12-13.06:01:50
SpamBayes Score 5.456723e-06
Marked as misclassified No
Message-id <1260684116.84.0.591665886631.issue6108@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-12-13 06:01:57ezio.melottisetrecipients: + ezio.melotti, barry, exarkun, ncoghlan, pitrou, rbcollins, cvrebert
2009-12-13 06:01:56ezio.melottisetmessageid: <1260684116.84.0.591665886631.issue6108@psf.upfronthosting.co.za>
2009-12-13 06:01:52ezio.melottilinkissue6108 messages
2009-12-13 06:01:52ezio.melotticreate