Gabriel Genellina <gagsl-...@yahoo.com.ar> added the comment:

--- El jue 6-ago-09, Antoine Pitrou <rep...@bugs.python.org> escribió:

> Antoine Pitrou <pit...@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/

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6598>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to