homepage

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 vstinner
Recipients pitrou, serhiy.storchaka, vstinner
Date 2013年04月20日.23:09:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366499352.67.0.722121923281.issue17742@psf.upfronthosting.co.za>
In-reply-to
Content
> The patch contains a special case for writing only one bytes object.
> This is very unlikely case.
The patch only modify a few functions to make them use the new _PyBytesWriter API. Other functions can use it.
A few examples:
 - PyBytes_FromObject()
 - binascii: binascii_rledecode_hqx()
 - bz2, lzma and zlib modules
 - marshal and pickle modules
 - datetime.datetime.strftime()
 - Python/compile.c: assemble_lnotab()
 - more Unicode decoders
But I agree that the readonly "hack" can be removed from _PyBytesWriter API since the bytes type has no format method (no bytes%args nor bytes.format(args)).
History
Date User Action Args
2013年04月20日 23:09:12vstinnersetrecipients: + vstinner, pitrou, serhiy.storchaka
2013年04月20日 23:09:12vstinnersetmessageid: <1366499352.67.0.722121923281.issue17742@psf.upfronthosting.co.za>
2013年04月20日 23:09:12vstinnerlinkissue17742 messages
2013年04月20日 23:09:12vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /