Simon Willison’s Weblog

Subscribe

Thursday, 2nd July 2020

Better Python Decorators with wrapt (via) Adam Johnson explains the intricacies of decorating a Python function without breaking the ability to correctly introspect it, and discusses how Scout use the wrapt library by Graham Dumpleton to implement their instrumentation library.

# 9:48 pm / decorators, python, adam-johnson

2020 » July

MTWTFSS
  12345
6789101112
13141516171819
20212223242526
2728293031