[Python-Dev] Challenge: Please break this! [Now with blog post]

Andrew Dalke dalke at dalkescientific.com
Tue Feb 24 15:46:04 CET 2009


On Tue, Feb 24, 2009 at 3:05 PM, tav <tav at espians.com> wrote:
> And instead of trying to make tb_frame go away, I'd like to add the
> following to my proposed patch of RESTRICTED attributes:
>
> * f_code
> * f_builtins
> * f_globals
> * f_locals
>
> That seems to do the trick...

A goal is to use this in App Engine, yes? Which uses cgitb to report
errors? Which needs these restricted frame attributes to report the
values of variables when the error occurred?

                Andrew Dalke
                dalke at dalkescientific.com


More information about the Python-Dev mailing list