[issue13355] random.triangular error when low = mode

Mark Dickinson report at bugs.python.org
Sun Nov 6 13:22:22 CET 2011


Mark Dickinson <dickinsm at gmail.com> added the comment:

> it would be convenient if low=high=mode returned low (or mode or high)

Yes, I agree that random.triangular should degrade gracefully, in the same way that random.uniform does.

----------

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


More information about the Python-bugs-list mailing list