Victor Stinner
92a3c6f493
bpo-32030: Add _PyImport_Fini2() ( #4737 )
...
PyImport_ExtendInittab() now uses PyMem_RawRealloc() rather than
PyMem_Realloc(). PyImport_ExtendInittab() can be called before
Py_Initialize() whereas only the PyMem_Raw allocator is supposed to
be used before Py_Initialize().
Add _PyImport_Fini2() to release the memory allocated by
PyImport_ExtendInittab() at exit. PyImport_ExtendInittab() now forces
the usage of the default raw allocator, to be able to release memory
in _PyImport_Fini2().
Don't export these functions anymore to be C API, only to
Py_BUILD_CORE:
* _PyExc_Fini()
* _PyImport_Fini()
* _PyGC_DumpShutdownStats()
* _PyGC_Fini()
* _PyType_Fini()
* _Py_HashRandomization_Fini()
2017-12-06 18:12:59 +01:00
..
2017-12-05 15:12:41 +01:00
2017-08-03 09:00:59 +03:00
2017-11-28 17:56:10 +02:00
2017-11-28 17:56:10 +02:00
2017-11-28 17:56:10 +02:00
2017-10-25 23:03:01 -07:00
2017-11-28 17:56:10 +02:00
2017-11-28 17:56:10 +02:00
2016-12-27 14:57:39 +02:00
2017-05-22 21:36:03 -07:00
2017-02-03 07:43:03 +09:00
2017-03-12 14:15:54 +02:00
2017-11-28 17:56:10 +02:00
2017-02-12 19:27:05 +01:00
2017-07-18 17:05:03 +02:00
2017-03-09 17:34:28 +01:00
2017-10-22 23:41:51 +02:00
2017-11-28 17:56:10 +02:00
2017-10-22 23:41:51 +02:00
2017-10-05 23:24:46 -04:00
2017-11-28 17:56:10 +02:00
2017-11-15 15:48:08 -08:00
2017-05-27 17:50:54 +02:00
2017-04-22 01:48:11 +02:00
2017-11-28 17:56:10 +02:00
2017-03-30 09:09:41 +03:00
2016-12-27 14:57:39 +02:00
2017-11-02 15:54:57 -07:00
2017-09-14 12:18:12 -06:00
2016-12-27 15:04:59 +02:00
2016-09-11 11:03:14 +03:00
2017-11-28 17:56:10 +02:00
2017-11-20 18:12:22 -08:00
2017-12-06 17:26:10 +01:00
2016-12-27 15:04:59 +02:00
2016-12-13 19:03:51 -05:00
2016-12-27 14:57:39 +02:00
2017-11-28 17:56:10 +02:00
2017-12-05 21:06:12 -05:00
2017-11-28 17:56:10 +02:00
2017-11-01 14:05:26 +02:00
2017-09-14 09:38:36 +03:00
2017-11-24 22:06:38 +01:00
2017-09-29 15:53:19 -07:00
2017-09-29 15:53:19 -07:00
2017-10-26 15:09:06 +02:00
2017-11-28 17:56:10 +02:00
2016-09-11 11:03:14 +03:00
2017-11-09 19:55:34 +03:00
2017-12-06 18:12:59 +01:00
2017-09-14 18:13:16 -07:00
2017-09-07 11:13:59 -07:00
2017-12-06 17:26:10 +01:00
2017-11-23 11:44:38 +01:00
2017-12-06 17:26:10 +01:00
2016-09-11 11:03:14 +03:00
2017-09-14 20:28:22 -07:00
2017-09-07 18:56:24 +02:00
2017-05-22 21:36:03 -07:00
2017-10-24 16:53:32 -07:00
2017-11-02 07:28:27 -07:00
2017-04-22 01:48:11 +02:00
2017-11-28 17:56:10 +02:00
2016-11-22 07:58:08 +02:00
2016-11-22 07:58:08 +02:00
2017-11-15 15:48:08 -08:00
2017-10-05 23:24:46 -04:00
2016-09-11 11:03:14 +03:00
2017-04-22 01:48:11 +02:00
2017-11-13 21:23:48 +02:00
2017-11-23 10:43:14 +01:00