Message317498
> The callstack I initially mentioned still has no explanation and we now know is not correct.
I don't think so.
The callstack is Python's callstack where caused leak in C. (Python doesn't call malloc directly)
In this case, local variables are freed "at end of the function", and it freed unclosed socket which cause warning. (*)
So the callstack is completely valid. While only CPython expert can understand.
(*) or "at the end of the except clause" which frees `e` and `e` have reference to the unclosed socket. |
|
Date |
User |
Action |
Args |
2018-05-24 01:47:03 | methane | set | recipients:
+ methane, vstinner, asvetlov, thehesiod |
2018-05-24 01:47:03 | methane | set | messageid: <1527126423.9.0.682650639539.issue33565@psf.upfronthosting.co.za> |
2018-05-24 01:47:03 | methane | link | issue33565 messages |
2018-05-24 01:47:03 | methane | create | |
|