[Mailman-Developers] Mailman 3 lmtp queue runners

Barry Warsaw barry at list.org
Mon Jul 7 17:28:03 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Jul 7, 2008, at 11:13 AM, Ian Eiloart wrote:

> We're having to use name mangling to access some private attributes  
> of smtpd.SMTPChannel. It seems that virtually everything in  
> SMTPChannel is private, making it quite hard to override any of its  
> methods.

Yep, this sucks.  The code was written back when we thought this was a  
good idea.  Fixing it requires changes in Python, and it's probably  
too late to get this into Python 2.6 and 3.0.

The best thing I can suggest is to make them public in the LMTP  
subclass, probably using properties that do the name mangling.

- -Barry

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iEYEARECAAYFAkhyNgMACgkQ2YZpQepbvXGlzQCgpxBZQrYtbxKs74yWyT0Nx489
o1YAoLW6AwXlcLXy6mqy4xutX3hekeIC
=9b1/
-----END PGP SIGNATURE-----


More information about the Mailman-Developers mailing list