You are here
Concerning Decorators
Decorators are a powerful as well as arcanely constructed feature of Python. Over at his BLOG Graham Dumpleton has written a series of [8 so far] articles covering Python decorator's in-depth. Lots of information here along with abundant examples.
- How you implemented your Python decorator is wrong
- Implementing a factory for creating decorators
- The interaction between decorators and descriptors
- Implementing a universal decorator
- Decorators which accept arguments
- Maintaining decorator state using a class
- The missing @synchronized decorator
- The @synchronized decorator as context manager
- Log in to post comments