[MERGE] An EmailMessage class for bzrlib (v2)
Aaron Bentley
aaron.bentley at utoronto.ca
Mon Jul 9 20:24:14 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Adeodato Simó wrote:
>> A common approach would be to move as much code as possible into a
>> "mixin" superclass, and then use multiple inheritance,
>
> Hm, I was already sending a new bundle with my proposed change
> implemented when this email arrived. How attached are you to the mixin
> option?
>> I think we'd want to retain the address encoding stuff when sending
>> non-multipart messages.
> As shown above, all that is retained.
That's fine, then. You asked for other implementation options, so I was
replying to that. But this seems good too.
Ultimately, I'm not sure we really want to inherit from the standard
python email classes. They seem too low-level. But it gets us to a
better place than where we are now.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGkote0F+nu1YWqI0RAheeAJ45YWOtWaZPY+2mTlM4bba5UNjzhgCfXYvK
hv/otBjcRTexpHlwOoxu/B0=
=d259
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list