Antoine Pitrou added the comment: It explains why the function isn't implemented in Python, it doesn't say that there shouldn't be a best-effort Python fallback.
All in all, Christian's version looks reasonable. All arithmetic is done on small ints, so there shouldn't be a strong data-dependent timing issue. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19259> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com