8000 gh-134201: Expand Base85 Documentation by biniona · Pull Request #134288 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-134201: Expand Base85 Documentation #134288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix base 85 inconsistencies
  • Loading branch information
biniona committed May 19, 2025
commit e39b5a530d0e58c2e85245a5fea19e1a262672fe
8 changes: 4 additions & 4 deletions Doc/library/base64.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
This module provides functions for encoding binary data to printable
ASCII characters and decoding such encodings back to binary data,
such as :ref:`those specified in RFC 4648 <base_64_rfc_4648>` and
:ref:`Base-85 encodings <base_64_base_85>`.
:ref:`Base85 encodings <base_64_base_85>`.

There are two interfaces provided by this module. The modern interface
supports encoding :term:`bytes-like objects <bytes-like object>` to ASCII
Expand Down Expand Up @@ -186,15 +186,15 @@ POST request. The encoding algorithm is not the same as the

.. _base_64_base_85:

Base 85 Encodings
Base85 Encodings
-----------------

Base-85 encoding is not formally specified. Base-85 encoding is a de facto standard,
Base85 encoding is not formally specified. Base85 encoding is a de facto standard,
and different systems perform the encoding differently.

The Ascii85 and Base85 functions in this module are two implementations of
the de facto standard. Which function you should use depends on how the other
software you use implements the Base-85 encoding.
software you use implements the Base85 encoding.

The two functions present in this module differ in how they handle the following:

Expand Down
Loading
0