[issue10824] urandom should not block

Antoine Pitrou report at bugs.python.org
Tue Jan 4 15:01:47 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

> Well in this particular case (/dev/urandom is regular file), it might
> make sense to simply raise NotImplementedError

IMO it would be quite fragile to try to detect regular files vs special
files. I suppose you noticed the issue quite quickly anyway, since you
had the blocking issue.

----------

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


More information about the Python-bugs-list mailing list