Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
Alternatively, we could raise an exception if the weight total isn't positive. Am not sure that has any real worth, but it could be done with only a small additional cost to the critical path. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38881> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com