[issue21310] ResourceWarning when open() fails with io.UnsupportedOperation: File or stream is not seekable

Serhiy Storchaka report at bugs.python.org
Thu May 29 21:28:05 CEST 2014


Serhiy Storchaka added the comment:

Here is a patch which fixes warnings.

----------
assignee:  -> serhiy.storchaka
keywords: +patch
stage:  -> patch review
versions: +Python 2.7, Python 3.5
Added file: http://bugs.python.org/file35403/io_open_resource_warning.patch

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


More information about the Python-bugs-list mailing list