[issue18408] Fixes crashes found by pyfailmalloc

STINNER Victor report at bugs.python.org
Tue Jul 16 00:08:16 CEST 2013


STINNER Victor added the comment:

frame_fasttolocals.patch: Add a new PyFrame_FastToLocalsWithError() function, same than PyFrame_FastToLocals(), except that errors are reported.

This function is not atomic: if an error occurs in the middle of map_to_dict(), the frame can enter an inconsistent state. Is it worse than not reporting the failure?

----------
Added file: http://bugs.python.org/file30933/frame_fasttolocals.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18408>
_______________________________________


More information about the Python-bugs-list mailing list