Message198114
> Optionally we can also not count objects which are referenced from
> outside of a graph of objects (this isn't so easy implement in
> Python). I.e. gettotalsizeof([1, 'abc', math.sqrt(22)], inner=True)
> will count only bare list and a square of 22, because 1 and 'abc' are
> interned.
That's only part of the equation. What if I have an object which
references, for example, a logging.Logger? Loggers are actually eternal
(they live in a global dictionary somewhere in the logging module), but
gettotalsizeof() will still count it. |
|
Date |
User |
Action |
Args |
2013-09-19 18:45:56 | pitrou | set | recipients:
+ pitrou, loewis, rhettinger, amaury.forgeotdarc, serhiy.storchaka |
2013-09-19 18:45:56 | pitrou | link | issue19048 messages |
2013-09-19 18:45:56 | pitrou | create | |
|