A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-March/043011.html below:

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

[Python-Dev] PEP 318 - generality of list; restrictions on elements [Python-Dev] PEP 318 - generality of list; restrictions on elementsAahz aahz at pythoncraft.com
Wed Mar 10 06:33:02 EST 2004
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

More information about the Python-Dev mailing list

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