New submission from Antoine Pitrou: Base85 encoding (see e.g. http://en.wikipedia.org/wiki/Ascii85 ) allows a tighter encoding than Base64: it has a 5/4 expansion ratio, rather than 4/3. It is used in Mercurial, git, and there's another variant that's used by Adobe in the PDF format.
It would be nice to have a Base85 implementation in either the binascii or base64 modules. (unfortunately the Mercurial implementation is GPL'ed, although if we want to copy it we might simply ask them for a relicensing) ---------- components: Library (Lib) messages: 185835 nosy: christian.heimes, pitrou priority: normal severity: normal status: open title: base85 encoding type: enhancement versions: Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17618> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com