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 pitrou
Recipients dmalcolm, joshbressers, pitrou, vstinner
Date 2010-10-13.16:45:38
SpamBayes Score 5.62234e-06
Marked as misclassified No
Message-id <1286988335.3362.2.camel@localhost.localdomain>
In-reply-to <>
> I am then confused by this in the initial comment:
> > It calls indirectly PyUnicode_EncodeUTF8() and so call
> > PyBytes_FromStringAndSize() which allocates memory on the heap.
> I've not studied the patch though, so this may have changed.

The patch certainly has changed, yes. In the latest patch, printing of
unicode message is done one code point at a time without allocating any
intermediary area.
Date User Action Args
2010-10-13 16:45:40pitrousetrecipients: + pitrou, vstinner, dmalcolm, joshbressers
2010-10-13 16:45:39pitroulinkissue8863 messages
2010-10-13 16:45:38pitroucreate