Issue 3048: getsizeof incorrect for Unicode strings (original) (raw)
Issue3048
Created on 2008-06-06 07:47 by loewis, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (2) | ||
---|---|---|
msg67750 - (view) | Author: Martin v. Löwis (loewis) * ![]() |
Date: 2008-06-06 07:47 |
sys.getsizeof doesn't take the actual length of the Unicode string into account: py> sys.getsizeof(u"") 32 [31332 refs] py> sys.getsizeof(u"1"*100) 32 [31332 refs] | ||
msg68176 - (view) | Author: Robert Schuppenies (schuppenies) * ![]() |
Date: 2008-06-13 19:11 |
Fixed in r64066. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:35 | admin | set | github: 47298 |
2008-06-13 19:11:33 | schuppenies | set | status: open -> closedresolution: fixedmessages: + |
2008-06-07 12:49:53 | benjamin.peterson | set | type: behavior |
2008-06-06 07:47:12 | loewis | create |