Author bugs-python@vendor.thewrittenword.com
Recipients bugs-python@vendor.thewrittenword.com, iwienand
Date 2012-08-31.07:33:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346398425.54.0.634669540438.issue15340@psf.upfronthosting.co.za>
In-reply-to
Content
Actually, this regression appeared after the Hash Randomization patches prior to 2.6.8, 2.7.3, 3.1.4 and 3.2.3.

Also, it not only breaks `from os import urandom`, but also prevents installation of many third-party packages that use setuptools or distribute, where the interpreter bails out with: "OSError: No such file or directory /dev/urandom" inside setup.py on all Tru64 machines, and HPUX 11.00 and 11.11 (at least).

As best I can tell it's failing either because dev_urandom_noraise aborts the interpreter if /dev/urandom is missing, or later an uncaught PyExc_OSError in dev_urandom_python triggers for the same reason.  In either case there's no NotImplemented exception raised for the fallback code be used :(
History
Date User Action Args
2012-08-31 07:33:45bugs-python@vendor.thewrittenword.comsetrecipients: + bugs-python@vendor.thewrittenword.com, iwienand
2012-08-31 07:33:45bugs-python@vendor.thewrittenword.comsetmessageid: <1346398425.54.0.634669540438.issue15340@psf.upfronthosting.co.za>
2012-08-31 07:33:45bugs-python@vendor.thewrittenword.comlinkissue15340 messages
2012-08-31 07:33:44bugs-python@vendor.thewrittenword.comcreate