This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients jgosmann, methane, rhettinger, serhiy.storchaka
Date 2017-03-31.12:18:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1490962686.0.0.793934068844.issue29949@psf.upfronthosting.co.za>
In-reply-to
Content
Hmm, I wonder why I'm not seeing the same sizes you are seeing.

$ cat setsize.py
from sys import getsizeof
print( [getsizeof(frozenset(range(n))) for n in range(20)] )
$ python3.4 setsize.py
[224, 224, 224, 224, 224, 224, 736, 736, 736, 736, 736, 736, 736, 736, 736, 736, 736, 736, 736, 736]
$ python3.5 setsize.py
[224, 224, 224, 224, 224, 224, 736, 736, 736, 736, 736, 736, 736, 736, 736, 736, 736, 736, 736, 736]
$ python3.6 setsize.py
[224, 224, 224, 224, 224, 736, 736, 736, 736, 736, 736, 736, 736, 736, 736, 736, 736, 736, 736, 736]
$ python3.4 --version
Python 3.4.4
$ python3.5 --version
Python 3.5.3
$ python3.6 --version
Python 3.6.1
History
Date User Action Args
2017-03-31 12:18:06rhettingersetrecipients: + rhettinger, methane, serhiy.storchaka, jgosmann
2017-03-31 12:18:06rhettingersetmessageid: <1490962686.0.0.793934068844.issue29949@psf.upfronthosting.co.za>
2017-03-31 12:18:05rhettingerlinkissue29949 messages
2017-03-31 12:18:05rhettingercreate