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

Nicko van Someren nicko at nicko.org
Sat Sep 22 02🔞48 CEST 2007


On 21 Sep 2007, at 22:51, Terry Reedy wrote:

| @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 ;-)

I'm thinking it tends towards "syntactic hákarl" :-)

Nicko

[*] http://en.wikipedia.org/wiki/Hakarl



More information about the Python-3000 mailing list