Message384039
Repeated msg355187 testing on master[056c08211b].
---
#include <Python.h>
void func()
{
Py_Initialize(); Py_Finalize();
Py_ssize_t cnt = _Py_GetRefTotal();
printf("sys.gettotalrefcount(): %zd\n", cnt);
}
int main(int argc, char *argv[])
{
Py_SetProgramName(L"./_testembed");
for (int i=0; i < 10; i++) {
func();
}
}
---
No refs leaking anymore!?
---
sys.gettotalrefcount(): 10241
sys.gettotalrefcount(): 10241
sys.gettotalrefcount(): 10241
sys.gettotalrefcount(): 10241
sys.gettotalrefcount(): 10241
sys.gettotalrefcount(): 10241
sys.gettotalrefcount(): 10241
sys.gettotalrefcount(): 10241
sys.gettotalrefcount(): 10241
sys.gettotalrefcount(): 10241
--- |
|
Date |
User |
Action |
Args |
2020-12-30 01:06:38 | phsilva | set | recipients:
+ phsilva, amaury.forgeotdarc, orsenthil, kylotan, vstinner, christian.heimes, tlesher, petr.viktorin, ysj.ray, santoso.wijaya, lukasz.langa, python-dev, eric.snow, serhiy.storchaka, pconnell, isoschiz, Jim Fasarakis-Hilliard, corona10, miss-islington, shihai1991, erlendaasland, koubaa |
2020-12-30 01:06:37 | phsilva | set | messageid: <1609290397.83.0.526054768096.issue1635741@roundup.psfhosted.org> |
2020-12-30 01:06:37 | phsilva | link | issue1635741 messages |
2020-12-30 01:06:37 | phsilva | create | |
|