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 rhettinger
Date 2013-08-21.07:55:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1377071745.56.0.580609331428.issue18797@psf.upfronthosting.co.za>
In-reply-to
Content
AFAICT, there is no reason for sets to incref and decref dummy objects.  The dummy object address is used as placeholders in the hash table but it is never accessed by set the logic.   As long the one reference is held at the time the dummy object is created, nothing further is served by the increfs and decrefs.

I can take them out entirely or use ifdefs to keep them for debug builds.

Does anyone know of any issues?
History
Date User Action Args
2013-08-21 07:55:45rhettingersetrecipients: + rhettinger
2013-08-21 07:55:45rhettingersetmessageid: <1377071745.56.0.580609331428.issue18797@psf.upfronthosting.co.za>
2013-08-21 07:55:45rhettingerlinkissue18797 messages
2013-08-21 07:55:45rhettingercreate