[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
- Previous message: [Python-Dev] Challenge: Please break this! (was: Reviving restricted mode)
- Next message: [Python-Dev] Challenge: Please break this! (was: Reviving restricted mode)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 :-)
- Previous message: [Python-Dev] Challenge: Please break this! (was: Reviving restricted mode)
- Next message: [Python-Dev] Challenge: Please break this! (was: Reviving restricted mode)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]