I've used decorators to add attributes to function objects in several projects in the past -- you don't have to wrap the original.
I've used decorators to add attributes to function objects in several projects in the past -- you don't have to wrap the original.