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 mark.dickinson
Recipients mark.dickinson, pitrou, rhettinger, serhiy.storchaka, tim.peters, vstinner
Date 2020-04-24.08:14:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1587716050.83.0.854540449939.issue40346@roundup.psfhosted.org>
In-reply-to
Content
[Tim]

> Who subclasses Random in the real world?  Who would want to?

Um. Me?

Or at least, I *wanted* to, when I was playing around with PCG. (See https://github.com/mdickinson/pcgrandom.) But after running into the same inelegancies (please note that I'm not calling them *issues*) as Victor, I decided to avoid the subclassing. That led to other inelegancies, like have to reproduce the code for all the various distribution sampling methods (beta, gamma, ...).  But I'm okay with that; this was just a toy project.
History
Date User Action Args
2020-04-24 08:14:10mark.dickinsonsetrecipients: + mark.dickinson, tim.peters, rhettinger, pitrou, vstinner, serhiy.storchaka
2020-04-24 08:14:10mark.dickinsonsetmessageid: <1587716050.83.0.854540449939.issue40346@roundup.psfhosted.org>
2020-04-24 08:14:10mark.dickinsonlinkissue40346 messages
2020-04-24 08:14:10mark.dickinsoncreate