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 <rep...@bugs.python.org>
<http://bugs.python.org/issue15499>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to