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 pitrou, python-dev, serhiy.storchaka, vstinner
Date 2014-02-13.10:51:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392288695.23.0.854959733362.issue20599@psf.upfronthosting.co.za>
In-reply-to
Content
> This is probably is missing LD_LIBRARY_PATH environment variable.
>> Fatal Python error: Failed to initialize Windows random API (CryptoGen)
>Oh, it remembers me that Windows requires some environment variables to start, otherwise it fails badly.

Ok, I filled issue #20614 to track these bugs with __cleanenv=True.

Serhiy>print() can be used during Python exit in destructor if destructor called before cleaning up the builtins and sys modules and encoding module with the encoding of sys.stdout.
Serhiy>Cleaning up the builtins and sys modules are delayed after wiping other modules, this decreases the chance of print() failure.

Ah ok. I tested with a codec implemented in Python, it works well. So it is very specific to test_cleanup() which hack builtins and sys modules to keep a reference their.

I don't see anything else to do, I close the issue.
History
Date User Action Args
2014-02-13 10:51:35vstinnersetrecipients: + vstinner, pitrou, python-dev, serhiy.storchaka
2014-02-13 10:51:35vstinnersetmessageid: <1392288695.23.0.854959733362.issue20599@psf.upfronthosting.co.za>
2014-02-13 10:51:35vstinnerlinkissue20599 messages
2014-02-13 10:51:34vstinnercreate