On Mon, Feb 23, 2009 at 4:06 PM, Victor Stinner <victor.stin...@haypocalc.com> wrote: > Le Tuesday 24 February 2009 00:51:25 Farshid Lashkari, vous avez écrit : >> 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. > > Wow, excellent idea!
I think in the next version Tav will have to stop the sharing of __builtins__ between the supervisor and the sandboxed code. There are too many tricks you can play with this. -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com