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 vstinner
Recipients brian.curtin, serhiy.storchaka, tim.golden, vstinner
Date 2014-02-13.10:37:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
When Python is executed in an empty environement, not only it displays "Fatal Python error: Failed to initialize Windows random API (CryptoGen)", but it opens also the fatal error popup on Windows.

The issue #19983 proposes a patch to not abort() at exit, but exit with an non-zero exit code instead. The same should be done for this error.

By the way, we can maybe help the use to fix this issue with a better error message. For example, add in the message " (check if SYSTEMROOT environment variable is correctly set)", maybe only if the environment variable is not set.
Date User Action Args
2014-02-13 10:37:51vstinnersetrecipients: + vstinner, tim.golden, brian.curtin, serhiy.storchaka
2014-02-13 10:37:51vstinnersetmessageid: <>
2014-02-13 10:37:51vstinnerlinkissue20614 messages
2014-02-13 10:37:50vstinnercreate