This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients madison.may, mark.dickinson, rhettinger, serhiy.storchaka, tim.peters
Date 2013-09-01.22:24:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378074281.69.0.93294526141.issue18900@psf.upfronthosting.co.za>
In-reply-to
Content
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))
History
Date User Action Args
2013-09-01 22:24:41serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, rhettinger, mark.dickinson, madison.may
2013-09-01 22:24:41serhiy.storchakasetmessageid: <1378074281.69.0.93294526141.issue18900@psf.upfronthosting.co.za>
2013-09-01 22:24:41serhiy.storchakalinkissue18900 messages
2013-09-01 22:24:41serhiy.storchakacreate