Message211144
> 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. |
|
Date |
User |
Action |
Args |
2014-02-13 10:51:35 | vstinner | set | recipients:
+ vstinner, pitrou, python-dev, serhiy.storchaka |
2014-02-13 10:51:35 | vstinner | set | messageid: <1392288695.23.0.854959733362.issue20599@psf.upfronthosting.co.za> |
2014-02-13 10:51:35 | vstinner | link | issue20599 messages |
2014-02-13 10:51:34 | vstinner | create | |
|