Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Restore cbook.report_memory, which was deleted in d063dee. #6944
Conversation
efiring
added this to the
2.0 (style change major release)
milestone
Aug 12, 2016
efiring
added the
needs_review
label
Aug 12, 2016
|
As an example of why we need this, or a good replacement, see #6940. |
|
It looks like the loop from https://github.com/matplotlib/matplotlib/pull/5360/files#diff-84d254616071e10903ac389d05d109deR36 should be exposed as a cbook function as well? |
tacaswell
modified the milestone: 2.1 (next point release), 2.0 (style change major release)
Aug 13, 2016
|
re-milestoned as 2.1 because this has only been removed on master (https://github.com/matplotlib/matplotlib/blob/v2.x/lib/matplotlib/cbook.py#L1439) |
|
@tacaswell, yes, it would be nice to have the whole |
|
Merging this as-is as the alternative is much more work than I anticipated due to py3 only imports. |
efiring commentedAug 12, 2016
There was no deprecation process, and having something like this
available as an import is very valuable to users suspecting a
memory leak, or simply needing to track memory usage.