Author happycoder97
Recipients happycoder97, ned.deily, ograycode, ronaldoussoren, serhiy.storchaka
Date 2018-08-08.11:04:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533726285.23.0.56676864532.issue34238@psf.upfronthosting.co.za>
In-reply-to
Content
Arch Linux is also affected.
Steps to reproduce:
```
$ python
Python 3.7.0 (default, Jul 15 2018, 10:44:58) 
[GCC 8.1.1 20180531] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import webbrowser
>>> webbrowser.get(None)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.7/webbrowser.py", line 42, in get
    register_standard_browsers()
  File "/usr/lib/python3.7/webbrowser.py", line 567, in register_standard_browsers
    cmd = _synthesize(cmdline, -1)
  File "/usr/lib/python3.7/webbrowser.py", line 116, in _synthesize
    register(browser, None, controller, update_tryorder)
TypeError: register() takes from 2 to 3 positional arguments but 4 were given
>>> 
```

Workaround:
```
$ env BROWSER='' python
Python 3.7.0 (default, Jul 15 2018, 10:44:58) 
[GCC 8.1.1 20180531] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import webbrowser
>>> webbrowser.get(None)
<webbrowser.Mozilla object at 0x7f6bf8c75400>
>>> 
```
History
Date User Action Args
2018-08-08 11:04:45happycoder97setrecipients: + happycoder97, ronaldoussoren, ned.deily, serhiy.storchaka, ograycode
2018-08-08 11:04:45happycoder97setmessageid: <1533726285.23.0.56676864532.issue34238@psf.upfronthosting.co.za>
2018-08-08 11:04:45happycoder97linkissue34238 messages
2018-08-08 11:04:45happycoder97create