[issue24406] "Built-in Types" doc doesn't explain dict comparison.

2015-06-12 Thread Terry J. Reedy

Terry J. Reedy added the comment:

The 3.4 sequence section also has this: "Sequences of the same type also 
support comparisons. In particular, tuples and lists are compared 
lexicographically by comparing corresponding elements."  I agree that dicts 
should have a similar sentence or two. Neither the sequence or (frozen)set 
sections reference the language manual, so I will leave that out.

--
nosy: +terry.reedy
title: "Built-in Types" documentation doesn't explain how dictionaries are 
compared for equality -> "Built-in Types" doc doesn't explain dict comparison.
versions: +Python 2.7, Python 3.4, Python 3.5, Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24406] "Built-in Types" doc doesn't explain dict comparison.

2015-06-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset d775fad1db43 by Terry Jan Reedy in branch '2.7':
Issue #24406: Add sentences on dict comparisons, similar to those for Sequence
https://hg.python.org/cpython/rev/d775fad1db43

New changeset 4e816c324846 by Terry Jan Reedy in branch '3.4':
Issue #24406: Add sentences on dict comparisons, similar to those for Sequence
https://hg.python.org/cpython/rev/4e816c324846

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24406] "Built-in Types" doc doesn't explain dict comparison.

2015-06-12 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com