[Mailman-Developers] 2.0.5 and python 2.1?

Ron Jarrell jarrell@vt.edu
Tue, 26 Jun 2001 10:16:31 -0400


I thought 2.0.5 was safe under python 2.1?  I just copied my mailman installation over to
a new machine, which had 2.1 installed on it.  Most stuff works, although cron is giving me
a slew of warnings about deprecated things and syntax warnings.  But admin passwords are
failing entirely.. I'm getting:

admin(25762):     if not self.ValidAdminPassword(pw):
admin(25762):   File "/home/mailman/Mailman/SecurityManager.py", line 47, in ValidAdminPassword
admin(25762):     return type(pw) == StringType and \
admin(25762): TypeError: argument 2 must be string without null bytes, not string
admin(25762): [----- Python Information -----]
admin(25762): sys.version    = 2.1 (#1, Jun 12 2001, 07:59:49) 
[GCC 2.95.2 19991024 (release)]