[issue37051] Glossary item "hashable" incorrect

2019-05-27 Thread Raymond Hettinger


Change by Raymond Hettinger :


--
resolution:  -> fixed
stage: patch review -> 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



[issue37051] Glossary item "hashable" incorrect

2019-05-27 Thread Raymond Hettinger


Raymond Hettinger  added the comment:


New changeset e8318f31f35dc851684c094b268e4a85d7f357c9 by Raymond Hettinger 
(Miss Islington (bot)) in branch '3.7':
bpo-37051: Refine note on what objects are hashable (GH-13587) (GH-13595)
https://github.com/python/cpython/commit/e8318f31f35dc851684c094b268e4a85d7f357c9


--

___
Python tracker 

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



[issue37051] Glossary item "hashable" incorrect

2019-05-27 Thread Raymond Hettinger


Raymond Hettinger  added the comment:


New changeset cc1c582f6fe450ce1c7de849137039e9b5fab8eb by Raymond Hettinger in 
branch 'master':
bpo-37051: Refine note on what objects are hashable (GH-13587)
https://github.com/python/cpython/commit/cc1c582f6fe450ce1c7de849137039e9b5fab8eb


--

___
Python tracker 

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



[issue37051] Glossary item "hashable" incorrect

2019-05-27 Thread miss-islington


Change by miss-islington :


--
pull_requests: +13502
pull_request: https://github.com/python/cpython/pull/13595

___
Python tracker 

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



[issue37051] Glossary item "hashable" incorrect

2019-05-26 Thread Josh Rosenberg


Josh Rosenberg  added the comment:

For that matter, slices are immutable built-ins, but they're not hashable 
(presumably to avoid silently working with dictionaries in a non-slice 
capacity).

--
nosy: +josh.r

___
Python tracker 

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



[issue37051] Glossary item "hashable" incorrect

2019-05-26 Thread Raymond Hettinger


Change by Raymond Hettinger :


--
keywords: +patch
pull_requests: +13494
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/13587

___
Python tracker 

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



[issue37051] Glossary item "hashable" incorrect

2019-05-26 Thread Raymond Hettinger


Change by Raymond Hettinger :


--
assignee: docs@python -> rhettinger
nosy: +rhettinger

___
Python tracker 

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



[issue37051] Glossary item "hashable" incorrect

2019-05-25 Thread John Riehl

New submission from John Riehl :

The entry in the glossary for "hashable" 
(https://docs.python.org/3/glossary.html#term-hashable) states "All of Python’s 
immutable built-in objects are hashable." Tuples are described as immutable 
sequence types 
(https://docs.python.org/3/library/stdtypes.html#immutable-sequence-types), but 
they are not hashable unless all of their elements are hashable. Suggest 
updating the glossary to reflect this.

--
assignee: docs@python
components: Documentation
messages: 343514
nosy: docs@python, john.riehl
priority: normal
severity: normal
status: open
title: Glossary item "hashable" incorrect
type: behavior
versions: Python 3.7

___
Python tracker 

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