]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-143103: Added pad parameter to base64.z85encode() (GH-143106)
authorHauke D <haukex@zero-g.net>
Thu, 25 Dec 2025 11:34:44 +0000 (12:34 +0100)
committerGitHub <noreply@github.com>
Thu, 25 Dec 2025 11:34:44 +0000 (13:34 +0200)
commit8d46f961c30b795357df9a8cde479742562d8fc5
tree1e0d6dbd9f73ddaad8783d3b18aa0150af8b22d9
parent86d904588e8c84c7fccb8faf84b343f03461970d
gh-143103: Added pad parameter to base64.z85encode() (GH-143106)

This makes it analogous to a85encode() and b85encode() and allows the
user to more easily meet the Z85 specification, which requires input
lengths to be a multiple of 4.
Doc/library/base64.rst
Lib/base64.py
Lib/test/test_base64.py
Misc/ACKS
Misc/NEWS.d/next/Library/2025-12-23-17-07-22.gh-issue-143103.LRjXEW.rst [new file with mode: 0644]