[Python-Dev] User's complaints (original) (raw)

Fredrik Lundh fredrik at pythonware.com
Thu Jul 13 12:36:07 CEST 2006


Bob Ippolito wrote:

What do you mean by "open classes"? Python classes already seem pretty open to me, by the standards of other languages! I'm guessing he's talking about being like Ruby or Objective-C where you can add methods to any other class in the runtime.

wouldn't a standard multiargument dispatch mechanism solve this, for most (all?) practical use cases.

(and while we're at it, wouldn't a standard multiargument dispatch be nice replacement for the instance-oriented lookup we're using today? dispatching on a single value is so last century ;-)



More information about the Python-Dev mailing list