cpython
cpython copied to clipboard
gh-143214: Add the wrapcol parameter in binascii.b2a_base64() and base64.b64encode()
- Issue: gh-143214
📚 Documentation preview 📚: https://cpython-previews--143216.org.readthedocs.build/
As a side effect -- the calculation of the size for the output buffer is now more accurate. Encoding more than 1GiB is now potentially supported on 32-bit systems (up to 1.5GiB if there is enough memory).