[Dev] Factory method for EmailAddress
Ducky Sherwood
ducky at osafoundation.org
Fri Aug 27 15:50:41 PDT 2004
Donn Denman wrote:
> The "me" EmailAddress
> --------------------------------
> Mimi's UI specifies a special display for the current user: "me". I'm
> thinking that I won't make any special "me" EmailAddress, I'll just
> make the __str__() method return "me" when the emailAddress matches
> the current default account. I'll probably cache that account address
> in globals or a class variable for quick and easy access.
Hmmm. I would think that I'd want a test which returns true if it
matchs *any* of my email accounts, not just my current default.
More information about the Dev
mailing list