Message311300
A bug found by coverity:
(PyErr_WarnEx might error out; please update the code to handle that)
________________________________________________________________________________________________________ *** CID 1428756: Error handling issues (CHECKED_RETURN)
/Modules/gcmodule.c: 1071 in gc_enable_impl()
1065
1066 static PyObject *
1067 gc_enable_impl(PyObject *module)
1068 /*[clinic end generated code: output=45a427e9dce9155c input=81ac4940ca579707]*/
1069 {
1070 if(_PyRuntime.gc.disabled_threads){
1071 PyErr_WarnEx(PyExc_RuntimeWarning, "Garbage collector enabled while another "
1072 "thread is inside gc.ensure_enabled",1);
1073 }
1074 _PyRuntime.gc.enabled = 1;
1075 Py_RETURN_NONE;
1076 } |
|
Date |
User |
Action |
Args |
2018-01-30 20:32:54 | yselivanov | set | recipients:
+ yselivanov, rhettinger, gregory.p.smith, ncoghlan, pitrou, eric.snow, serhiy.storchaka, josh.r, lisroach, pablogsal |
2018-01-30 20:32:53 | yselivanov | set | messageid: <1517344373.99.0.467229070634.issue31356@psf.upfronthosting.co.za> |
2018-01-30 20:32:53 | yselivanov | link | issue31356 messages |
2018-01-30 20:32:53 | yselivanov | create | |
|