Message283404
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. |
|
Date |
User |
Action |
Args |
2016-12-16 15:01:07 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, vstinner |
2016-12-16 15:01:05 | serhiy.storchaka | set | messageid: <1481900465.81.0.491407063999.issue28988@psf.upfronthosting.co.za> |
2016-12-16 15:01:05 | serhiy.storchaka | link | issue28988 messages |
2016-12-16 15:01:05 | serhiy.storchaka | create | |
|