[Python-bugs-list] [ python-Bugs-417853 ] pydoc uses deprecated regex module
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 24 Apr 2001 23:30:06 -0700
Bugs item #417853, was updated on 2001-04-21 09:20
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=417853&group_id=5470
Category: Python Library
Group: None
Status: Closed
Resolution: Invalid
Priority: 5
Submitted By: Garth T Kidd (gtk)
Assigned to: Ka-Ping Yee (ping)
Summary: pydoc uses deprecated regex module
Initial Comment:
C:\Python21\Lib>python pydoc.py -g
[Tk gui pops up. Enter a search expression and hit
Enter.]
pydoc.py:1496: DeprecationWarning: the regex module is
deprecated; please use the re module
desc = split(__import__(modname).__doc__ or '', '\n')
[0]
----------------------------------------------------------------------
>Comment By: Skip Montanaro (montanaro)
Date: 2001-04-24 23:30
Message:
Logged In: YES
user_id=44345
perhaps pydoc should explicitly suppress the
DeprecationWarning?
----------------------------------------------------------------------
Comment By: Garth T Kidd (gtk)
Date: 2001-04-24 16:27
Message:
Logged In: YES
user_id=59803
I was about to suggest using the warnings filter to catch
it and add it to the documentation, but there aren't any
callbacks. Which isn't to say they can't be added...
----------------------------------------------------------------------
Comment By: Ka-Ping Yee (ping)
Date: 2001-04-24 03:32
Message:
Logged In: YES
user_id=45338
pydoc doesn't use the deprecated regex module.
The warning appears because regex happens to be among
the available modules to be searched.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=417853&group_id=5470