Phillip J. Eby wrote:

> That's because @around methods haven't been introduced at that point in 
> the PEP; the following section introduces @around and explains that 
> @arounds are called before the befores, etc.

Hmm, so it's not the case that @before methods are
called "before" all other methods. That makes it even
more confusing.

I'm now even more of the opinion that this is too
complicated for Python's first generic function system.
"If it's hard to explain, it's probably a bad idea."

> Of course, it's also stated in the PEP that it's basically copying 
> CLOS's "standard method combination", but I really should add 
> appropriate references for that.

Relying on people knowing about CLOS in order to follow
this stuff doesn't seem like a good idea.

--
Greg
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to