Message225140
I agree with Serhiy. There is nothing "magic" about generators in Python. Also, the concept of an infinite stream of random numbers (or random whatevers) is perfectly common (/dev/urandom being an obvious example); it is not a notion we are inventing.
By contrast, the two-function approach only makes things clumsier for people since they have to remember to combine them. |
|
Date |
User |
Action |
Args |
2014-08-10 14:06:02 | pitrou | set | recipients:
+ pitrou, tim.peters, rhettinger, mark.dickinson, aisaac, westley.martinez, serhiy.storchaka, NeilGirdhar, madison.may, dkorchem |
2014-08-10 14:06:02 | pitrou | set | messageid: <1407679562.69.0.302634045779.issue18844@psf.upfronthosting.co.za> |
2014-08-10 14:06:02 | pitrou | link | issue18844 messages |
2014-08-10 14:06:02 | pitrou | create | |
|