[New-bugs-announce] [issue15447] A file is not properly closed by webbrowser._invoke
Anton Barkovsky
report at bugs.python.org
Wed Jul 25 15:15:13 CEST 2012
New submission from Anton Barkovsky <swarmer.pm at gmail.com>:
webbrowser._invoke opens /dev/null, never closes it and a warning is
printed.
I'm attaching a patch.
The diff looks messy, but I'm just wrapping the code in a try-finally
block, the rest is just indented.
----------
components: Library (Lib)
files: fileclose.patch
keywords: patch
messages: 166392
nosy: anton.barkovsky
priority: normal
severity: normal
status: open
title: A file is not properly closed by webbrowser._invoke
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file26511/fileclose.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15447>
_______________________________________
More information about the New-bugs-announce
mailing list