Mark Dickinson <dicki...@gmail.com> added the comment: Perfect---thank you! Applied to trunk in r76963. I tweaked the main comment and docstring, wrapped a long line, and replaced two instances of '*overflow = Py_SIZE(v) > 0 ? 1 : -1' with simply '*overflow = sign'. I also expanded the test a bit to check for 1 and -1 *overflow values, rather than just checking for nonzero *overflow.
I'll propagate your tests to py3k. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7528> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com