[issue20575] Type handling policy for the statistics module

Steven D'Aprano report at bugs.python.org
Sun Feb 15 17:09:18 CET 2015


Steven D'Aprano added the comment:

Thanks for the note Mark. I need to give Oscar's comments some careful and distraction-free thought, but off the top of my head I think Oscar's suggestion to require consistent types seems reasonable, except that mixing int with any other type should be allowed. Otherwise, I think that the coercion rules for mixed float/Decimal/Fraction rapidly become intractable.

----------
assignee:  -> steven.daprano

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20575>
_______________________________________


More information about the Python-bugs-list mailing list