webbrowser.py currently uses Internet Explorer as the fallback browser on Windows, if the user has no default browser, and no user-installed browsers are detected. I propose to update this code to use Microsoft Edge as the fallback instead.
Pitch
-IE is deprecated and no longer functional on most Windows installations today.
-Any Windows installation with current Python has had Microsoft Edge installed since release.
-It seems that certain enterprise policies will block the user from directly invoking IE (See this Github issue).
-While iexplore.exe currently redirects to Edge when executed, this PR makes the fallback behavior transparent.
changed the title [-]Update webbrowser.py to use Edge as fallback instead of IE[/-][+]Update webbrowser to use Edge as fallback instead of IE[/+]on Mar 14, 2023
Activity
gh-102690: Use Edge as fallback in webbrowser instead of IE (#102691)
merwok commented on Mar 16, 2023
Thanks!
Merge branch 'main' into inlinecomp2
pythongh-102690: Use Edge as fallback in webbrowser instead of IE (py…
pythongh-102690: Use Edge as fallback in webbrowser instead of IE (py…