You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue bpo-17618 introduced base85 options into the base64 module including b85 and a85/adobe variants.
There has since been introduced a variant that is easier to work with specifically as it avoids " ' \ characters which avoids quoting/escaping issues when working with base85 literals in python, json, xml, etc.
Backtick and semicolon increase the number of places that z85 can be used
without issue over b85. All of these might not be as big an issue in python
as in other tools/languages but interoperability would still be improved
through the addition of z85.
Activity
underrun commentedon Aug 3, 2017
Issue bpo-17618 introduced base85 options into the base64 module including b85 and a85/adobe variants.
There has since been introduced a variant that is easier to work with specifically as it avoids " ' \ characters which avoids quoting/escaping issues when working with base85 literals in python, json, xml, etc.
https://rfc.zeromq.org/spec:32/Z85/
there is a reference implementation in c for which an extension could easily be built.
alternately it would be very easy to add a _z85alphabet etc. to the base64 module to mirror what has been done with a/b85.
Dobatymo commentedon Feb 14, 2020
base64.b85encode does not use ", ' or \ as well.
That's the _b85alphabet
underrun commentedon Feb 15, 2020
z85 avoids all of:
` \ " ' _ , ;
Backtick and semicolon increase the number of places that z85 can be used
without issue over b85. All of these might not be as big an issue in python
as in other tools/languages but interoperability would still be improved
through the addition of z85.
On Fri, Feb 14, 2020, 09:18 Dobatymo <report@bugs.python.org> wrote: