[Mailman-Developers] Fix for the last error I reported

Bob Puff@NLE bob@nleaudio.com
Wed, 26 Jun 2002 12:03:40 -0400


Hey Gang,

I finally found a fix for the last show-stopper I reported:

> File "/home/mm21/mailman/pythonlib/email/_compat22.py", line 41, in body_line_iterator
>    if isinstance(payload, StringTypes):
> TypeError: isinstance() arg 2 must be a class or type

It seems that while:

> admin(22824): [----- Python Information -----]
> admin(22824): sys.version     =   2.2b1 (#2, Oct 29 2001, 16:07:36)
> [GCC 2.95.3 19991030 (prerelease)]                                       

I copied _compat21.py over top _compat22.py, and it now works.  So, it seems that _compat22.py isn't really compatible with the 2.2 beta 1 release of Python.  

Bob