Raymond Hettinger <raymond.hettin...@gmail.com> added the comment: I went ahead an added the guards to the pure python code.
Still disagree with your assertion that non-cpython implementations were somehow broken when an undefined behavior was implemented in a different way -- nsmallest() and nlargest() have no guaranteed meaning for negative numbers. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13274> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com