Message77986
Will think about it for a bit. My initial inclination is against
because there have been no other such requests to instrument all the
fundamental data types, because it's not hard to add instrumentation
using your own pure python additions around size-mutating calls, because
it clutters the API, and because it's unclear whether a maximum-size
statistic has much utility.
For deques, should the clear() method zero-out the high-water mark? How
about the equivalent code where the contents are all popped-off (down to
zero size) before the structure is re-used? |
|
Date |
User |
Action |
Args |
2008-12-17 21:33:44 | rhettinger | set | recipients:
+ rhettinger, roysmith, pitrou, LambertDW |
2008-12-17 21:33:43 | rhettinger | set | messageid: <1229549623.86.0.639598449933.issue4680@psf.upfronthosting.co.za> |
2008-12-17 21:33:42 | rhettinger | link | issue4680 messages |
2008-12-17 21:33:41 | rhettinger | create | |
|