[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
- Previous message: [Python-Dev] Challenge: Please break this! [Now with blog post]
- Next message: [Python-Dev] Challenge: Please break this! [Now with blog post]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
tav wrote:
1. Remove
compile
from the safe builtins 2. Take outtbframe
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
- Previous message: [Python-Dev] Challenge: Please break this! [Now with blog post]
- Next message: [Python-Dev] Challenge: Please break this! [Now with blog post]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]