python/cpython Issue #158592:

github.com · 2026-10-04 · by Long Nguyen ·github
Bug report This works as expected: >>> import sys >>> seq = list(range(1000)) >>> sys.getsizeof(seq) 8056 >>> for _ in range(1000): ... seq.pop() >>> sys.getsizeof(seq) 56 But this does not: >>> import sys >>> seq = list(range(1000)) >>>...

python/cpython

Bug report This works as expected: >>> import sys >>> seq = list(range(1000)) >>> sys.getsizeof(seq) 8056 >>> for _ in range(1000): ... seq.pop() >>> sys.getsizeof(seq) 56 But this does not: >>> im...

source

github.com · 2 images · 91 links

Comments (0)

No comments yet