This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: WindowsError in webbrowser.open
Type: Stage:
Components: Library (Lib) Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, luks
Priority: normal Keywords:

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:23adminsetgithub: 44722
2007-03-15 08:35:33lukscreate