This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients nijel, pitrou
Date 2011-01-04.13:49:42
SpamBayes Score 0.0001407609
Marked as misclassified No
Message-id <1294148987.42.0.913332342643.issue10824@psf.upfronthosting.co.za>
In-reply-to
Content
This would change semantics of the library call, though.
I see two possible solutions:
- do nothing and let users tackle the issue if necessary (e.g. by calling open() themselves and using select() on the resulting fd)
- add an optional "blocking" parameter to os.urandom() that, if False, would return None when no data is available
History
Date User Action Args
2011-01-04 13:49:47pitrousetrecipients: + pitrou, nijel
2011-01-04 13:49:47pitrousetmessageid: <1294148987.42.0.913332342643.issue10824@psf.upfronthosting.co.za>
2011-01-04 13:49:42pitroulinkissue10824 messages
2011-01-04 13:49:42pitroucreate