Antoine Pitrou added the comment: Le mercredi 17 avril 2013 à 18:14 +0000, Serhiy Storchaka a écrit : > I think we can provide a universal solution compatible (with some > pre/postprocessing) with both variants. Enclose encoded data in <~ and > ~> or not, and at which column wrap an encoded data. Padding can be > easy implemented as preprocessing (data + (-len(data)) % 4 * b'\0').
That's ok with me. It's just more work for whoever does it :-) > As for Git/Mercurial's base85, what other applications use this > encoding? I don't know, but they use it to produce binary diffs ("diff" chunks of binary files), so any application wanting to parse Mercurial/Git diffs would have to recognize base85 data. (and I also like that the Mercurial/Git variant is the simpler of all 3 :-)) ---------- _______________________________________ 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