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

Fred L. Drake, Jr. fdrake at acm.org
Mon Mar 8 16:37:42 EST 2004


On Monday 08 March 2004 04:00 pm, Aahz wrote:
 > Principle of least surprise, essentially.  There are already going to be
 > enough obscure uses for this; let's try to keep the completely whacky out
 > of it.  You'll have to come up with an awfully convincing use case to
 > change my mind.

I'd be very surprised if the interpreter cared that a decorator returned a 
callable; what should it care?


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation




More information about the Python-Dev mailing list