diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-10-13 22:21:35 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-10-13 22:21:35 (GMT) |
commit | 03dab786b2f504791ac46a9f9b9db82e634efd05 (patch) | |
tree | 148e1a5f699bbdd43647370140065af1b69e78be /Doc | |
parent | b6d84832bfa1f453d3c73d6db0982aee0e6d04fe (diff) | |
download | cpython-03dab786b2f504791ac46a9f9b9db82e634efd05.zip cpython-03dab786b2f504791ac46a9f9b9db82e634efd05.tar.gz cpython-03dab786b2f504791ac46a9f9b9db82e634efd05.tar.bz2 |
Rewrite PyBytes_FromFormatV() using _PyBytesWriter API
* Add much more unit tests on PyBytes_FromFormatV()
* Remove the first loop to compute the length of the output string
* Use _PyBytesWriter to handle the bytes buffer, use overallocation
* Cleanup the code to make simpler and easier to review
Diffstat (limited to 'Doc')
0 files changed, 0 insertions, 0 deletions