Graham Dumpleton

Decorators and monkey patching.

Prior posts on the topic of decorators and monkey patching are as follows.

This batch of posts deals with Python decorators, how the simple pattern most people use isn't correct and how to implement a better decorator.
  • How you implemented your Python decorator is wrong.
  • The interaction between decorators and descriptors.
  • Implementing a factory for creating decorators.
  • Implementing a universal decorator.
  • Decorators which accept arguments.
  • Maintaining decorator state using a class.
  • The missing @synchronized decorator.
  • The @synchronized decorator as context manager.
  • Performance overhead of using decorators.
  • Performance overhead when applying decorators to methods.
This batch of posts deals with issues around the more general problem of monkey patching Python code.
  • Safely applying monkey patches in Python.
  • Using wrapt to support testing of software.
  • Ordering issues when monkey patching in Python.
  • Automatic patching of Python applications.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Home
Subscribe to: Posts (Atom)

About Me

Graham Dumpleton
View my complete profile

Quick Links

  • Decorators and monkey patching.
  • Using Python with Docker.

Blog Archive

Labels

  • python (111)
  • mod_wsgi (86)
  • wsgi (58)
  • apache (35)
  • docker (34)
  • openshift (26)
  • decorators (15)
  • django (13)
  • kubernetes (12)
  • mod_python (9)
  • red hat (9)
  • ipython (7)
  • jupyterhub (7)
  • new relic (6)
  • wrapt (6)
  • pycon (5)
  • s2i (4)
  • gunicorn (3)
  • uWSGI (3)
  • datadog (2)
  • nginx (2)
  • statsd (2)
  • web2py (2)
  • async (1)
  • dyndns53 (1)
  • fastcgi (1)
  • heroku (1)
  • jupyter (1)
  • lektor (1)
  • php (1)
  • shiv (1)
  • testing (1)
  • tornado (1)
  • warpdrive (1)
  • zipapp (1)
Simple theme. Powered by Blogger.