New submission from Serhiy Storchaka: Proposed patch adds private function _PySys_GetSizeOf(). It is needed for correct implementing of __sizeof__() methods: issue15490, issue15513, issue15381 (BytesIO.__sizeof__ is broken in 3.5). See discussion about it in issue15490. I extracted this patch in separate issue for its simplicity and because it is needed in other issues.
---------- assignee: serhiy.storchaka components: Interpreter Core files: _PySys_GetSizeOf.patch keywords: patch messages: 225294 nosy: loewis, serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: Add _PySys_GetSizeOf() type: enhancement versions: Python 2.7, Python 3.4, Python 3.5 Added file: http://bugs.python.org/file36368/_PySys_GetSizeOf.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22193> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com