[pypy-issue] [issue1258] Interrupted system call from os.urandom

Amaury Forgeot d Arc tracker at bugs.pypy.org
Tue Sep 11 23:00:46 CEST 2012


Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:

The script fails consistently for me with CPython 2.7.2, and seems to pass with 2.7.3.
The difference is that os.urandom() has been rewritten: it's now a builtin function, but more 
importantly it correctly handles EINTR and retries.

PyPy has just been updated to version 2.7.3, and this version runs the script without failure 
(during at least 1 minute).

----------
nosy: +afa
status: chatting -> resolved

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1258>
________________________________________


More information about the pypy-issue mailing list