[issue19431] Document PyFrame_FastToLocals() and PyFrame_FastToLocalsWithError()

STINNER Victor report at bugs.python.org
Tue Dec 12 06:04:51 EST 2017


STINNER Victor <victor.stinner at gmail.com> added the comment:

Serhiy: how are you supposed to modify local variables of a frame when these variables are stored in "fast locals"? Even if it's a rare useful, I think that it's ok to expose PyFrame_FastToLocalsWithError(), and maybe also PyFrame_FastToLocals().

It is useful you want write a debugger in pure C, and don't want to bother with fast locals special case.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue19431>
_______________________________________


More information about the Python-bugs-list mailing list