[issue3122] sys.getsizeof() gives an AttributeError for _sre objects.

Amaury Forgeot d'Arc report at bugs.python.org
Fri Jun 27 09:52:25 CEST 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

I don't understand the relation between "the member is cached" and "it
counts in the object's sizeof". 
What does "cached" mean? 
Does 'self.x = 3' create a cached member?

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3122>
_______________________________________


More information about the Python-bugs-list mailing list