]> granicus.if.org Git - python/commit
Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 19 Dec 2015 18:07:11 +0000 (20:07 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 19 Dec 2015 18:07:11 +0000 (20:07 +0200)
commita9406e77fa7bd3618c16edd248c24010af7035c1
tree885dac8e53616cebafbb37bc5613040513bd9581
parenta254921cd4c1ca22d725872601292c48b7caa20a
parent5c4064e8bd199d70eefd7ec24766957c22f1b8e8
Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
This allows sys.getsize() to work correctly with their subclasses with
__slots__ defined.
Misc/NEWS
Modules/_collectionsmodule.c
Modules/_elementtree.c
Modules/_pickle.c
Modules/itertoolsmodule.c
Objects/bytearrayobject.c
Objects/dictobject.c
Objects/setobject.c