DescriptionCurrently, sys.getsizeof only returns the objects size without taking the GC_HEAD into account.
This patch addresses this issue.
Patch Set 1 #Patch Set 2 : Added PyGC_Head to _testcapi required for testing. #Patch Set 3 : added a default return value and made this and the gc_head inclusion optional #
MessagesTotal messages: 2
|
||||||||||||||||||||||||||||||||||||||||||||||