Mark Dickinson <dicki...@gmail.com> added the comment: There's a patch in issue 8817 that exposes a round-to-nearest form of divmod in a function called _PyLong_Divmod_Near; this would save on duplication of code.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1289118> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com