[Python-Dev] Challenge: Please break this! (was: Reviving restricted mode) (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Tue Feb 24 00:59:29 CET 2009


Farshid Lashkari <flashk gmail.com> writes:

It seems like some code in safelite passes a file object to isinstance. By overriding the builtin isinstance function I can get access to the original file object and create a new one. Here is the code I used:

I guess Tav should open a restaurant :-)



More information about the Python-Dev mailing list