Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:
Updated to use ABCs but still relies on user objects implementing __sizeof__. So it is accurate whenever sys.getsizeof() is accurate. ---------- Added file: http://bugs.python.org/file20095/sized_cache2.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10725> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com