Serhiy Storchaka added the comment:

On Linux creating a temporary file or directory usually consumes only one 
random name. But due to a bug on Windows (issue22107) it can consume up to 
TMP_MAX (2147483647 on Windows) names when called with read-only directory. 
Generating every name consumes about 16 random bytes. This can exhaust the 
system entropy and slowdown other applications.

----------

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

Reply via email to