[issue26861] shutil.copyfile() doesn't close the opened files

Vukasin Felbab report at bugs.python.org
Tue Apr 26 09:47:15 EDT 2016


New submission from Vukasin Felbab:

shutil.copyfile() doesn't close the opened files, so it is vulnerable to IO Error 24: too many files open

actually, the src and dst files should be closed after copy

----------
components: IO
messages: 264286
nosy: vocdetnojz
priority: normal
severity: normal
status: open
title: shutil.copyfile() doesn't close the opened files
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26861>
_______________________________________


More information about the Python-bugs-list mailing list