[issue13355] random.triangular error when low = high=mode

Raymond Hettinger report at bugs.python.org
Sat Apr 13 08:03:46 CEST 2013


Raymond Hettinger added the comment:

I haven't had a chance to look at this one yet and am reopening.

The triangular code was originally written so that low and high could be reversed and it would still work.  I don't want to break any code that might be relying on that.

Andrew Svetlov, this patch shouldn't be committed.  I'm the maintainer of the random module and the person who wrote the original code for triangular.  The bug report was assigned to me to take care of when I got a chance.  Please be less aggressive with the commits.

----------
status: closed -> open

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


More information about the Python-bugs-list mailing list