[Python-Dev] Challenge: Please break this! [Now with blog post] (original) (raw)

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 tbframe

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