Steven D'Aprano added the comment: Attached is a patch which:
- documents that mixed types are not currently supported; - changes the behaviour of _sum to raise TypeError on mixed input types (mixing int and <other> is allowed, but nothing else); - updates the tests; - adds some documentation changes for issue 20389. ---------- Added file: http://bugs.python.org/file33978/stats.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20481> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com