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

Nick Coghlan ncoghlan at gmail.com
Tue Feb 24 11:56:50 CET 2009


tav wrote:
> 1. Remove ``compile`` from the safe builtins
> 2. Take out ``tb_frame``
> 
> Thoughts on which of the two options is better would be very appreciated!

Given the context manager hack I just sent you (similar in spirit to
Paul's, just using a context manager's __exit__() method to get hold of
the traceback instead of hacked bytecode), I think we can safely say
that tb_frame has to go.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------


More information about the Python-Dev mailing list