Message193377
The import_init() function calls Py_FatalError() at any error. This is not kind for Py_NewInterpreter() which calls import_init(): Py_NewInterpreter() exits Python with a fatal error, instead of returning NULL, on import_init() failure. The pyfailmalloc tool can be used to easily inject faults (memory allocation failure) to test this issue: see issue #18408.
import_init() should return an error instead of using Py_FatalError(). |
|
Date |
User |
Action |
Args |
2013-07-19 21:39:11 | vstinner | set | recipients:
+ vstinner, brett.cannon, ncoghlan |
2013-07-19 21:39:11 | vstinner | set | messageid: <1374269951.83.0.221076121181.issue18507@psf.upfronthosting.co.za> |
2013-07-19 21:39:11 | vstinner | link | issue18507 messages |
2013-07-19 21:39:11 | vstinner | create | |
|