[Python-bugs-list] [ python-Bugs-432247 ] Deprecated Module regsub

noreply@sourceforge.net noreply@sourceforge.net
Tue, 12 Jun 2001 10:19:00 -0700


Bugs item #432247, was updated on 2001-06-10 04:06
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=432247&group_id=5470

Category: None
>Group: Not a Bug
Status: Closed
Resolution: Wont Fix
Priority: 5
Submitted By: carlos herrera (shakari)
>Assigned to: Barry Warsaw (bwarsaw)
Summary: Deprecated Module regsub

Initial Comment:
Hi

i have installed python 2.1 on my linux server 
(slackware 7) and i have installed mailman 2.0.3
i have configurated and when i call make install it 
sends a warnign message as follows:

/usr/local/lib/python2.1/regsub.py:15: 
DeprecationWarning: the regsub module is deprecated; 
please use re.sub()
  DeprecationWarning)


i would like to know what is the problem if is the 
python or the mailman ?

thank you


----------------------------------------------------------------------

>Comment By: Barry Warsaw (bwarsaw)
Date: 2001-06-12 10:18

Message:
Logged In: YES 
user_id=12800

Martin's right.  Upgrade to Mailman 2.0.5 which is Python
2.1 compatible.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2001-06-12 10:13

Message:
Logged In: YES 
user_id=21627

This is a mailman problem; it uses a deprecated function.
You can filter the warnings out if you want, see
http://www.python.org/doc/current/lib/module-warnings.html
for details.

Most recent mailman releases don't use regsub anymore, so
updating mailman might be another option.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=432247&group_id=5470