Question about map() and class methods

Scott Anderson malraux at my-deja.com
Tue Dec 28 12:02:07 EST 1999


Spam detection software, running on the system "albatross.python.org", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  My example was actually not representative of the problem.
   Here's the crux: if you have a list of class instances, and wish to call
  a method that *may* be overridden by a subclass, you have to use a lambda
  with map() (losing the speed gains of using map(), obviously): [...] 

Content analysis details:   (6.2 points, 5.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
 4.2 MSGID_SPAM_CAPS        Spam tool Message-Id: (caps variant)
 2.0 FH_DATE_IS_19XX        The date is not 19xx.


-------------- next part --------------
An embedded message was scrubbed...
From: "Scott Anderson" <malraux at my-deja.com>
Subject: Re: Question about map() and class methods
Date: Tue, 28 Dec 1999 09:02:07 -0800
Size: 3679
URL: <http://mail.python.org/pipermail/python-list/attachments/19991228/26b7809e/attachment.mht>


More information about the Python-list mailing list