New submission from Eugene Viktorov: When calling the tempfile.NamedTemporaryFile with mode='wr' or with any other wrong value for "mode", it raises the ValueError and silently leaves an unknown, just created file on the file system.
---------- components: Library (Lib) files: temp_file.py messages: 260466 nosy: Eugene Viktorov priority: normal severity: normal status: open title: the call of tempfile.NamedTemporaryFile fails and leaves a file on the disk type: behavior versions: Python 3.4 Added file: http://bugs.python.org/file41957/temp_file.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26385> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com