Message170569
Well, I do think that it's not very important to make __sizeof__ strictly exact according to some specification. I'm also not sure we want to complicate maintenance when the calculation becomes tedious or difficult.
To me __sizeof__ is mostly an educational tool which gives a hint at the memory impact of an object, but cannot really convey a precise information except for trivial atomic types. |
|
Date |
User |
Action |
Args |
2012-09-16 18:52:09 | pitrou | set | recipients:
+ pitrou, loewis, jcea, benjamin.peterson, stutzbach, aliles, hynek, serhiy.storchaka |
2012-09-16 18:52:09 | pitrou | set | messageid: <1347821529.0.0.219140270563.issue15490@psf.upfronthosting.co.za> |
2012-09-16 18:52:08 | pitrou | link | issue15490 messages |
2012-09-16 18:52:08 | pitrou | create | |
|