[Python-3000] decorators for variable assignments? (original) (raw)

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


| @validateproxy | proxy = "http://user:passwd@host:port/" | | be a syntactical sugar for: | proxy = validateproxy("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