> From: Guido van Rossum > > > Another possibility that has been suggested is > > > > [decorator] > > def func(arg, arg): > > And one that I currently favor. I'm out of bandwidth to participate > on a msg-by-msg basis, but perhaps folks can see if they can come to > terms with this solution? OTOH, if there is any code currently like that (which I highly doubt) then it's quite possible that it contains side effects e.g. [synchronized(lock)] def func (arg): would currently call synchronized before the function definition - if this syntax were changed to be the decorator syntax that would change it's meaning. As I said though, I think it's highly unlikely to exist in practice. Tim Delaney
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4