Message367175
[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. |
|
Date |
User |
Action |
Args |
2020-04-24 08:14:10 | mark.dickinson | set | recipients:
+ mark.dickinson, tim.peters, rhettinger, pitrou, vstinner, serhiy.storchaka |
2020-04-24 08:14:10 | mark.dickinson | set | messageid: <1587716050.83.0.854540449939.issue40346@roundup.psfhosted.org> |
2020-04-24 08:14:10 | mark.dickinson | link | issue40346 messages |
2020-04-24 08:14:10 | mark.dickinson | create | |
|