[issue6598] calling email.utils.make_msgid frequently has a non-trivial probability of generating colliding ids

Gabriel Genellina report at bugs.python.org
Tue Aug 4 06:30:57 CEST 2009


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

This patch replaces the random part with an increasing sequence (in a 
thread safe way).
Also, added a test case for make_msgid (there was none previously)

----------
keywords: +patch
nosy: +gagenellina
Added file: http://bugs.python.org/file14643/utils.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6598>
_______________________________________


More information about the Python-bugs-list mailing list