[Spambayes] Re: Corpus.Message.__getattr__ can't be correct can it?

Michael Hudson mwh at python.net
Sat Jan 18 17:05:42 EST 2003


Skip Montanaro <skip at pobox.com> writes:

> Yes, now that I know what's going on, I understand why I was getting
> infinite loops.  The __getattr__ method is really only meant to initialize
> payload and hdrtxt.

In which case why not use a property?

Cheers,
M.

-- 
  ROOSTA:  Ever since you arrived on this planet last night you've
           been going round telling people that you're Zaphod
           Beeblebrox, but that they're not to tell anyone else.
                    -- The Hitch-Hikers Guide to the Galaxy, Episode 7




More information about the Spambayes mailing list