[Python-3000] decorators for variable assignments?

Arvind Singh arvind1.singh at gmail.com
Sat Sep 22 00:23:54 CEST 2007


> |  @validate_proxy
> |  proxy = "http://user:passwd@host:port/"
> |
> | be a syntactical sugar for:
> |  proxy = validate_proxy("http://user:passwd@host:port/")
>
> Sorry, to me, this is syntactical pepper -- or worse ;-)

"Poison" perhaps? Then, maybe we can have Poisonous Python! :-)

-- 
Regards,
Arvind


More information about the Python-3000 mailing list