[Python-Dev] Dropping decorator syntax for 2.4?

Thomas Heller theller at python.net
Wed Jun 2 15:43:07 EDT 2004

"Brett C." <bac at OCF.Berkeley.EDU> writes:

> Guido van Rossum wrote:
> [snip]
>> I just want to suggest that we put
>> this off and get 2.4 on the road without any decorator syntax at all.
>> What do people think of that?
> +1 from me.
> While I completely understand Bob and Thomas wanting this for PyObjC
> and ctypes, respectively, I don't want to rush this.  And I don't
> think this is going to suffer from being pushed off indefinitely since
> enough people want this feature.  If you need more time to consider
> how Java handles it, then take it.  You are BDFL for a reason; your
> gut feeling tends be right in the end.
> But if you decide not to wait and put in 2.4, I'm +1 on your syntax;
> as I said before, your gut tends to be right.

Guido's syntax has the advantage that it's possible to experiment with
this more easily (for those who want it) since it's possible to write
backwards compatible code (no syntax errors, but different semantics).
This may, however, also be a disadvantage.  Probably all this has been
said before, but for me it's now a point in favor of Guido's patch.

I agree with Brett that Guido is usually right, so I'm curious about his


More information about the Python-Dev mailing list