[New-bugs-announce] [issue15499] Sleep is hardcoded in webbrowser.UnixBrowser
Anton Barkovsky
report at bugs.python.org
Mon Jul 30 13:18:42 CEST 2012
New submission from Anton Barkovsky:
webbrowser.UnixBrowser._invoke will sleep for at least 1 second after
launching browser process and then probably 4 more seconds. These numbers
are hardcoded and can't be modified which is especially problematic for
testing.
I think this code should be replaced with Popen.wait with timeout.
A patch is attached.
----------
components: Library (Lib)
files: webbrowser_sleep.patch
keywords: patch
messages: 166877
nosy: anton.barkovsky
priority: normal
severity: normal
status: open
title: Sleep is hardcoded in webbrowser.UnixBrowser
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file26596/webbrowser_sleep.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15499>
_______________________________________
More information about the New-bugs-announce
mailing list