[Python-ideas] RFC: PEP: Add dict.__version__
Terry Reedy
tjreedy at udel.edu
Mon Jan 11 20:09:12 EST 2016
On 1/11/2016 6:30 PM, Andrew Barnert via Python-ideas wrote:
> On Jan 11, 2016, at 14:56, Terry Reedy
> <tjreedy at udel.edu> wrote:
>>
>> Classes with immutable instances (tuples, numbers, strings, frozen
>> sets, some extension classes, and user classes that take special
>> measures) are exceptions. So are classes with mutable hashes
>> (lists, sets, dicts, some extension classes, and user classes that
>> override __eq__ and __hash__).
>
> I don't understand your terminology here.
Yes, the term, as a negation, is wrong. It should be 'classes that
don't have immutable hashes'. The list is right, except that 'override'
should really be 'disable'.
Anyway, Viktor changed the PEP and has moved on, so I will too.
--
Terry Jan Reedy
More information about the Python-ideas
mailing list