Are decorators really that different from metaclasses...

Paul Morrow pm_mon at
Fri Sep 3 12:39:59 CEST 2004

Anthony Baxter wrote:
> On Thu, 2 Sep 2004 15:48:19 +0000 (UTC), Steven Bethard
> <steven.bethard at> wrote:
>>Not to defend Paul's proposal, which I, like many others on this list, still
>>find counterintuitive and a break with the current syntax/semantics of Python,
>>but I don't think it's fair to say that his proposal will change much
>>currently legal code.  Grep the Python source for functions with __*__ local
>>variable assignments and tell me how many you find.  I wasn't able to find
>>any, though perhaps my skills with grep are not up to par...  For that matter,
>>grep any Python source for functions like this.  I'd bet you find the same.
> My arguments against it were nothing to do with breaking existing
> code, but were to do with the half-baked nature of the proposal. It's
> fairly clear (to me) that it's really not been thought through - Jeff
> Epler's code samples showed some of the stupid results that this
> proposal would produce.
> I stand by my earlier comments that this is all just hand-waving and
> fluff. There's been little concrete effort by Paul to actually spell
> out his proposal.

I thought that you were done with this thread.  You probably should be 
as you obviously can't follow what we're talking about here.  Most of 
the others seem to.  They don't agree with me, that's clear.  But they 
do appear to understand what I am proposing.

You don't like this idea.  I got that.  And it hasn't been presented in 
the form of a single document, which is certainly something that I'll 
ultimately need to do.  But for you to call this a 'half-baked' idea; to 
accuse me of not supplying effort to spell things out?

I've honestly tried to answer every question/objection presented.  I've 
shown code examples, even grammar rules.  This is not just hand-waving 
here.  And your comments are inflamatory.


More information about the Python-list mailing list