Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:
The max(roots) line that follows will raise its own ValueError when given an empty input. Will mull over your patch. I may just delete the assert line, leave it as-is, or apply something like your patch (but with a ValueError). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8361> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com