[issue21305] PEP 466: update os.urandom

STINNER Victor report at bugs.python.org
Tue Apr 29 10:41:12 CEST 2014


STINNER Victor added the comment:

> (and I don't know how it
> works on Windows).

On Windows, the OS CryptoAPI is used and a handle is kept open between
calls to os.urandom. On Windows, I don't think that it's a an issue to keep
a handle open. Handle are not sequential numbers and users don't manipulate
them directly.

----------

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


More information about the Python-bugs-list mailing list