Please sign in to comment.
Do not store function name in __init__
This optimizes Callable instantiation when str(func) is expensive (like in the case of InProgress objects). This was added to improve debugging for WeakCallables, but the use-cases for a traceback being insufficient are few so we'll take the optimization win.
- Loading branch information...