Martin Morrison added the comment: I wrote an implementation from scratch (based on the wikipedia article; I've not looked at any existing implementations) in pure Python in the attached diff. It includes tests.
Feel free to use it as the pure Python implementation if desired, though I won't be offended if you just end up using the Mercurial one. :-) ---------- keywords: +patch nosy: +isoschiz Added file: http://bugs.python.org/file29717/issue17618.diff _______________________________________ 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