[Python-Dev] webbrowser.py broken on Windows; also in 2.1.1

Tim Peters tim.one@home.com
Wed, 18 Jul 2001 21:28:54 -0400


A very recent patch to webbrowser.py broke this module on Windows; the patch
also appears in the 2.1.1 maintenance branch.

C:\Code\2.1.1\dist\src\PCbuild>python
Python 2.1.1c1 (#19, Jul 13 2001, 00:25:06) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
>>> import webbrowser
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "C:\CODE\2.1.1\DIST\SRC\lib\webbrowser.py", line 312, in ?
    if _iscommand(cmd.lower()):
NameError: name '_iscommand' is not defined
>>>

This also causes test___all__.py to fail on Windows, in 2.1.1 and CVS.  Note
that we intend to build 2.1.1 final tomorrow (Thursday) night, so please fix
it or rip it out ASAP.