Ticket #9115: check_for_unlink_in_temp.patch
File check_for_unlink_in_temp.patch, 466 bytes (added by , 16 years ago) |
---|
-
core/files/temp.py
14 14 15 15 __all__ = ('NamedTemporaryFile', 'gettempdir',) 16 16 17 if os.name == 'nt' :17 if os.name == 'nt' and hasattr(os, 'unlink') and hasattr(os, 'fdopen'): 18 18 class TemporaryFile(object): 19 19 """ 20 20 Temporary file object constructor that works in Windows and supports