add callback for extra label information
Bug #558914 reported by
Thouis Jones
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
objgraph |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
We're using objgraph to detect when we're holding onto numpy arrays for too long. It's useful to report extra information for the arrays (i.e., dimensions and base type). The attached patch adds a callback for adding extra label information.
Changed in objgraph: | |
status: | Confirmed → Fix Committed |
Changed in objgraph: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I like it!
I think I'd prefer it if extra_info defaulted to None rather than a lambda, but it's not a big deal.