New submission from Serhiy Storchaka:

Here is large patch which convert a code which potentially can leak file 
descriptor to use the with statement so files are always closed. This can make 
effect mainly on alternative Python implementation without reference counting. 
But even on CPython this will get rid from resource leaking warnings.

----------
components: Demos and Tools, Library (Lib), Tests
files: fd_leaks.diff
keywords: patch
messages: 230901
nosy: rhettinger, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Use "with" to avoid possible fd leaks
type: resource usage
versions: Python 3.5
Added file: http://bugs.python.org/file37158/fd_leaks.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22831>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to