[Python-Dev] anonymous blocks
bjourne at gmail.com
Wed Apr 20 00:57:05 CEST 2005
> RSMotD (random stupid musing of the day): so I wonder if the decorator
> syntax couldn't be extended for this kind of thing.
Would it be useful for anything other than mutex-locking? And wouldn't
it be better to make a function of the block wrapped in a
block-decorator and then use a normal decorator?
More information about the Python-Dev