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 larry
Recipients doerwalter, larry, lemburg, serhiy.storchaka, yselivanov
Date 2015-08-08.09:25:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1439025936.56.0.88766929138.issue24824@psf.upfronthosting.co.za>
In-reply-to
Content
This is a legitimate problem and I'd definitely like it fixed.
However, the angle brackets and the quote marks are ugly:

        decode(obj, encoding='<sys.getdefaultencoding()>', errors='strict')

Attached is a tweaked version of the patch that sidesteps the quote marks and the angle brackets, by substituting in an object with a custom repr.

Yury, if my change to your patch looks good to you, please go ahead and check it in. That way it won't slow down 3.5.0rc1.  Thanks!
History
Date User Action Args
2015-08-08 09:25:36larrysetrecipients: + larry, lemburg, doerwalter, serhiy.storchaka, yselivanov
2015-08-08 09:25:36larrysetmessageid: <1439025936.56.0.88766929138.issue24824@psf.upfronthosting.co.za>
2015-08-08 09:25:36larrylinkissue24824 messages
2015-08-08 09:25:35larrycreate