This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients docs@python, eric.snow, jcea, meador.inge, pitrou, rhettinger, serhiy.storchaka
Date 2012-07-25.23:05:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
sys.getsizeof() is not for production code, it's for experimenting and getting information at the command prompt. It's quite useful when you know its limitations.

I'd argue that implementing __sizeof__ for user types doesn't make much sense (except C extension types, which are CPython-specific).
Date User Action Args
2012-07-25 23:05:31pitrousetrecipients: + pitrou, rhettinger, jcea, meador.inge, docs@python, eric.snow, serhiy.storchaka
2012-07-25 23:05:31pitrousetmessageid: <>
2012-07-25 23:05:31pitroulinkissue15436 messages
2012-07-25 23:05:31pitroucreate