[Python-Dev] RE: [Python-checkins]python/nondist/pepspep-0323.txt,
NONE, 1.1 pep-0000.txt, 1.254, 1.255
Delaney, Timothy C (Timothy)
tdelaney at avaya.com
Tue Oct 28 18:17:58 EST 2003
> From: Alex Martelli [mailto:aleaxit at yahoo.com]
> Come to think of this, there may be other use cases for this
> general approach than "random iterators". Do you think that
> an iterator on a callable *and args for it* would live well in
> itertools? That module IS, after all, your baby...
Hmm - I like the idea of this.
d10 = itertools.icall(random.randint, (1, 10,))
for i in range(10):
More information about the Python-Dev