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

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


Farshid Lashkari <flashk <at> 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