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

2016-12-02 Thread Vukasin Felbab
Vukasin Felbab added the comment: Okay, so the problem is that I have a command library instance which is containing a connection to a server and functions can be called to execute some queries. As I pass this instance as a parameter in a recursive chain, after a while the open files limit

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

2016-04-26 Thread Vukasin Felbab
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