[New-bugs-announce] [issue3048] getsizeof incorrect for Unicode strings

Martin v. Löwis report at bugs.python.org
Fri Jun 6 09:47:13 CEST 2008

New submission from Martin v. Löwis <martin at v.loewis.de>:

sys.getsizeof doesn't take the actual length of the Unicode string into

py> sys.getsizeof(u"")
[31332 refs]
py> sys.getsizeof(u"1"*100)
[31332 refs]

assignee: schuppenies
messages: 67750
nosy: loewis, schuppenies
severity: normal
status: open
title: getsizeof incorrect for Unicode strings

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list