[issue30030] Simplify _RandomNameSequence
STINNER Victor
report at bugs.python.org
Wed Apr 19 18:11:20 EDT 2017
STINNER Victor added the comment:
> Remoe _get_candidate_names() and the global _name_sequence
I understood the rationale behind _get_candidate_names() is to prevent generating the same name when _RandomNameSequence() uses random.Random. Since my change uses random.SystemRandom, I consider that it's now ok to create multiple generators in paralle. Is that rationale correct?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30030>
_______________________________________
More information about the Python-bugs-list
mailing list