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 Matt.Mackall, benjamin.peterson, gregory.p.smith, josh.r, larry, mark.dickinson, marmoute, mpm, python-dev, rhettinger, serhiy.storchaka
Date 2015-05-13.17:49:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431539368.76.0.698150665014.issue23971@psf.upfronthosting.co.za>
In-reply-to
Content
> If Py_SIZE(seq) is 1, dictresize argument is 0.

That doesn't matter.  The minimum dict size is 8.

> Why not write Py_SIZE(seq) * 3 / 2?

Because I prefer the / 2 * 3 style so I don't have to think about whether seq can overflow.  Do you really feel like bike-shedding this?
History
Date User Action Args
2015-05-13 17:49:28rhettingersetrecipients: + rhettinger, gregory.p.smith, mark.dickinson, larry, benjamin.peterson, mpm, python-dev, Matt.Mackall, serhiy.storchaka, josh.r, marmoute
2015-05-13 17:49:28rhettingersetmessageid: <1431539368.76.0.698150665014.issue23971@psf.upfronthosting.co.za>
2015-05-13 17:49:28rhettingerlinkissue23971 messages
2015-05-13 17:49:28rhettingercreate