On Mon, Mar 08, 2004, Fred L. Drake, Jr. wrote: > 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? The interpreter doesn't care; *people* care. That's precisely why it should be a documented requirement. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Do not taunt happy fun for loops. Do not change lists you are looping over." --Remco Gerlich, comp.lang.python
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4