[issue41883] ctypes pointee goes out of scope, then pointer in struct dangles and crashes
Ian M. Hoffman
report at bugs.python.org
Wed Sep 30 12:39:00 EDT 2020
Ian M. Hoffman <hoffman.ian.m at gmail.com> added the comment:
I agree with you. When I wrote "desired behavior" I intended it to mean "my selfishly desired outcome of not loading my struct with a dangling pointer." This issue seems to have descended into workarounds that treat the symptoms; I'm all for treating the cause.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41883>
_______________________________________
More information about the Python-bugs-list
mailing list