PythonfromGrahamdumpleton16 hours agoStateful decorators in wrapt - Graham DumpletonWrapt 2.2.0 adds a helper that simplifies creating decorators that retain and expose state across calls, including for methods.