(Copy of an email) Georg Brandl via python.org
Am 29.10.2013 01:19, schrieb victor.stinner:
> http://hg.python.org/cpython/rev/4ef4578db38a
> changeset: 86715:4ef4578db38a
> user: Victor Stinner <victor.stinner@gmail.com>
> date: Tue Oct 29 01:19:37 2013 +0100
> summary:
> Issue #18408: Add a new PyFrame_FastToLocalsWithError() function to handle
> exceptions when merging fast locals into f_locals of a frame.
> PyEval_GetLocals() now raises an exception and return NULL on failure.
You'll have to either make this private or document it.