[PATCH] sandbox.py replaces builtin type file with builtin function open

Issue #6 resolved
Hanno Schlichting
created an issue

This is a copy of http://bugs.python.org/setuptools/issue59:

builtin open changed from an alias to the file type to a function in Python 2.5. sandbox.py assumes file is open when replacing/restoring the two with sandboxed versions

Attached is a patch that removes that hardcoding

Prioritized as critical, this is evil!