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 ggenellina
Recipients allenap, ggenellina, mwh, pitrou
Date 2009-08-07.19:34:15
SpamBayes Score 0.024691392
Marked as misclassified No
Message-id <96486.68664.qm@web32806.mail.mud.yahoo.com>
In-reply-to <1249582741.04.0.0669700400433.issue6598@psf.upfronthosting.co.za>
Content
--- El jue 6-ago-09, Antoine Pitrou <report@bugs.python.org> escribió:

> Antoine Pitrou <pitrou@free.fr>
> added the comment:
> 
> Is it ok if the message id is predictable?

I don't know of any use of message ids apart from uniquely identifying the message, but we could still keep a random part followed by the sequence.

> Besides, _gen_next_number() can more efficiently be written
> as:
> 
> _gen_next_number = itertools.cycle(xrange(N))

Written that way it will eventually hold a list with 100000 integers forever.

      Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.

http://ar.mujer.yahoo.com/cocina/
History
Date User Action Args
2009-08-07 19:34:17ggenellinasetrecipients: + ggenellina, mwh, pitrou, allenap
2009-08-07 19:34:15ggenellinalinkissue6598 messages
2009-08-07 19:34:15ggenellinacreate