[Python-Dev] PEP for new dictionary implementation

"Martin v. Löwis" martin at v.loewis.de
Thu Feb 16 22:21:47 CET 2012


Am 11.02.2012 22:22, schrieb Mark Shannon:
> Antoine Pitrou wrote:
>> Hello Mark,
>>
>> I think the PEP should explain what happens when a keys table needs
>> resizing when setting an object's attribute.
> 
> If the object is the only instance of a class, it remains split,
> otherwise the table is combined.

Hi Mark,

Answering on-list is fine, but please do add such answers to the PEP
when requested.

I have such a question also: why does it provide storage for the value
slot in the keys array, where this slot is actually not used?

Regards,
Martin


More information about the Python-Dev mailing list