[Python-Dev] PEP 318 restrictions on elements (original) (raw)

[Python-Dev] PEP 318 - generality of list; restrictions on elements

Greg Ewing greg at cosc.canterbury.ac.nz
Wed Mar 10 19:28:15 EST 2004


Guido:

And it's also possible that decorators are (by convention) commutative, making it a wash.

That's not always going to be possible, since any decorator that returns a descriptor will have to be applied last in order for the descriptor to have its magical effect. So order of application will certainly have to be specified.

Left-to-right seems the most sensible to me, all things considered.

Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg at cosc.canterbury.ac.nz +--------------------------------------+



More information about the Python-Dev mailing list