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.000140761
Marked as misclassified No
Message-id <>
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
Date User Action Args
2011-01-04 13:49:47pitrousetrecipients: + pitrou, nijel
2011-01-04 13:49:47pitrousetmessageid: <>
2011-01-04 13:49:42pitroulinkissue10824 messages
2011-01-04 13:49:42pitroucreate