Issue 1681248: WindowsError in webbrowser.open (original) (raw)

Issue1681248

Created on 2007-03-15 08:35 by luks, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
webbrowser-windowserror.diff luks,2007-03-15 08:35
Messages (2)
msg31526 - (view) Author: Lukas Lalinsky (luks) Date: 2007-03-15 08:35
On Windows, os.startfile can throw an exception if the URL action is not assigned to any program. I think the function should catch it and return False.
msg31527 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-03-16 07:56
Fixed with your patch from #1681228.
History
Date User Action Args
2022-04-11 14:56:23 admin set github: 44722
2007-03-15 08:35:33 luks create