Author serhiy.storchaka
Recipients rhettinger, serhiy.storchaka, vstinner
Date 2016-12-16.15:01:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481900465.81.0.491407063999.issue28988@psf.upfronthosting.co.za>
In-reply-to
Content
In issue28959 Raymond said that a dict structure can be switched to PyVarObject. Victor guessed that it makes sense to switch a set structure too. Proposed patch implements this. The layout of a dict structure is not changed. The number of used and filled entries in a set structure are swapped, therefore extensions that use PySet_GET_SIZE or access fields of PySetObject directly (both are not in a stable API) should be recompiled.

I don't see a benefit from this patch except some unification.
History
Date User Action Args
2016-12-16 15:01:07serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, vstinner
2016-12-16 15:01:05serhiy.storchakasetmessageid: <1481900465.81.0.491407063999.issue28988@psf.upfronthosting.co.za>
2016-12-16 15:01:05serhiy.storchakalinkissue28988 messages
2016-12-16 15:01:05serhiy.storchakacreate