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 <rep...@bugs.python.org>
<http://bugs.python.org/issue18408>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to