Serhiy Storchaka added the comment: Ludwig, you can use some helpers from test.support (see issue15467) for __sizeof__ testing. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue15424> _______________________________________