Another worthless decorator syntax suggestion

Michael Sparks zathras at thwackety.com
Tue Sep 14 12:36:05 CEST 2004


On 14 Sep 2004, Larry Hastings wrote:

> I didn't see this form of decorator syntax listed on the Python
...
> Behold:
>
> 	def foo(a, b),
> 	classmethod,
> 	synchronized,
> 	martinized:
> 		pass

Interesting choice of keyword... ;-)

> I look forward to seeing the final decision of our BDFL on this subject,
> as I suspect I will agree with it.

He gave it - the pies win. Guido gave a very good/nice summary of why as
well:
   * http://mail.python.org/pipermail/python-dev/2004-September/048518.html

Best Regards,


Michael.





More information about the Python-list mailing list