Serhiy Storchaka added the comment:

Of course if this idea will be accepted we can turn current functions in the 
random module into wrappers around generators from the distrib module.

E.g.:

    def triangular(self, *args, **kwargs):
        return next(triangular(*args, random=self, **kwargs))

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18900>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to