mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
os.urandom() only tries to make the os.random() file descriptor non inheritable, but there is no guarantee. The test fails on too many operating systems: Windows, OS X 10.5, OpenIndiana. This issue is correctly fixed in Python 3.4 with the PEP 446. Upgrade to Python 3.4 is you need stronger guarantees.