[Mailman-Developers] patch for using Bouncers/Catchall.py on Python 2.2.1

Roy Bixler rcb@ucp.uchicago.edu
Fri, 10 May 2002 11:30:24 -0500


On Fri, May 10, 2002 at 12:00:04PM -0400, barry@zope.com (Barry A. Warsaw) wrote:
> >>>>> "JWB" == John W Baxter <jwblist@olympus.net> writes:
> 
>     JWB> Interesting...my Python 2.2.1 on Mac OS X does include those
>     JWB> modules (and issues a deprecation warning upon import at the
>     JWB> interpreter command line).  I didn't do anything special to
>     JWB> include them.
> 
> And that module specifically imports the warnings module to silence
> the deprecation warnings in Python 2.2.x.  Did you generate this patch
> because you saw those messages, or things were broken for you?

I generated the patch because of the following:

Python 2.2.1 (#10, May  3 2002, 17:45:45)
[GCC 3.0.3] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import regex
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named regex
>>> import re
>>>

Python was compiled from source on a Solaris 8 machine.  Since re is
more modern, I thought I would try to patch Mailman rather than try to
figure out why regex wasn't included in the Python build.

-- 
Roy Bixler
The University of Chicago Press
rcb@ucp.uchicago.edu