[New-bugs-announce] [issue2835] Py30a5: webbrowser.open() inf recursion
Mark Summerfield
report at bugs.python.org
Mon May 12 11:39:31 CEST 2008
New submission from Mark Summerfield <mark at qtrac.eu>:
There appears to be an infinite recursion in Py30a5 (doing the same
thing in Py2.5.1 works fine):
Python 3.0a5 (r30a5:62856, May 9 2008, 11:23:06)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-33)] on linux2
Type "copyright", "credits" or "license()" for more information.
IDLE 3.0a5
>>> import webbrowser
>>> url = "http://www.python.org"
>>> webbrowser.open(url)
Traceback (most recent call last):
File "<pyshell#9>", line 1, in <module>
webbrowser.open(url)
File "/home/mark/opt/python30a5/lib/python3.0/webbrowser.py", line 61,
in open
if browser.open(url, new, autoraise):
File "/home/mark/opt/python30a5/lib/python3.0/webbrowser.py", line
350, in open
devnull = open(os.devnull, "r+")
File "/home/mark/opt/python30a5/lib/python3.0/webbrowser.py", line 61,
in open
if browser.open(url, new, autoraise):
File "/home/mark/opt/python30a5/lib/python3.0/webbrowser.py", line
350, in open
...
devnull = open(os.devnull, "r+")
File "/home/mark/opt/python30a5/lib/python3.0/webbrowser.py", line 61,
in open
if browser.open(url, new, autoraise):
----------
components: Library (Lib)
messages: 66716
nosy: mark
severity: normal
status: open
title: Py30a5: webbrowser.open() inf recursion
type: behavior
versions: Python 3.0
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2835>
__________________________________
More information about the New-bugs-announce
mailing list