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

Philip Jenvey setuptools at bugs.python.org
Sat Feb 14 02:10:17 CET 2009


New submission from Philip Jenvey <pjenvey at underboss.org>:

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!

----------
assignedto: pje
files: builtin_file-r66750.diff
messages: 236
nosy: pje, pjenvey
priority: critical
status: unread
title: [PATCH] sandbox.py replaces builtin type file with builtin function open
Added file: http://bugs.python.org/setuptools/file36/builtin_file-r66750.diff

_______________________________________________
Setuptools tracker <setuptools at bugs.python.org>
<http://bugs.python.org/setuptools/issue59>
_______________________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: builtin_file-r66750.diff
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20090214/5a32031a/attachment.txt>


More information about the Distutils-SIG mailing list