Author serhiy.storchaka
Recipients aisaac, dkorchem, madison.may, mark.dickinson, neil.g, pitrou, rhettinger, serhiy.storchaka, tim.peters, westley.martinez
Date 2014-08-10.10:32:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1407666762.53.0.241210527232.issue18844@psf.upfronthosting.co.za>
In-reply-to
Content
Other languages have no such handly feature as generators. NumPy provides the size parameter to all functions and generates a bunch of random numbers at time. This doesn't look pythonic (Python stdlib prefers iterators).

I believe a generator is most Pythonic and most handly solution of this issue on Python. And it is efficient enough.
History
Date User Action Args
2014-08-10 10:32:42serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, rhettinger, mark.dickinson, pitrou, aisaac, westley.martinez, neil.g, madison.may, dkorchem
2014-08-10 10:32:42serhiy.storchakasetmessageid: <1407666762.53.0.241210527232.issue18844@psf.upfronthosting.co.za>
2014-08-10 10:32:42serhiy.storchakalinkissue18844 messages
2014-08-10 10:32:42serhiy.storchakacreate