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 eric.smith
Recipients Arfrever, chris.jerdonek, docs@python, eric.smith
Date 2012-09-17.12:46:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347886006.27.0.52984034566.issue15952@psf.upfronthosting.co.za>
In-reply-to
Content
I believe the conversion is happening in Objects/abstract.c in PyObject_Format, around line 864, near this comment:

    /* Convert to unicode, if needed.  Required if spec is unicode
       and result is str */

I think changing the docs will result in more confusion than clarity, but if you can come up with some good wording, I'd be okay with it. I think changing the code will likely break things with little or no benefit.
History
Date User Action Args
2012-09-17 12:46:46eric.smithsetrecipients: + eric.smith, Arfrever, chris.jerdonek, docs@python
2012-09-17 12:46:46eric.smithsetmessageid: <1347886006.27.0.52984034566.issue15952@psf.upfronthosting.co.za>
2012-09-17 12:46:45eric.smithlinkissue15952 messages
2012-09-17 12:46:45eric.smithcreate