[pypy-commit] extradoc extradoc: Write down hash({}.values())
arigo
pypy.commits at gmail.com
Tue Oct 18 18:17:05 EDT 2016
Author: Armin Rigo <arigo at tunes.org>
Branch: extradoc
Changeset: r5741:444b33b782af
Date: 2016-10-19 00:16 +0200
http://bitbucket.org/pypy/extradoc/changeset/444b33b782af/
Log: Write down hash({}.values())
diff --git a/planning/py3.5/cpython-crashers.rst b/planning/py3.5/cpython-crashers.rst
--- a/planning/py3.5/cpython-crashers.rst
+++ b/planning/py3.5/cpython-crashers.rst
@@ -93,3 +93,7 @@
``io.UnsupportedOperation.__new__(io.UnsupportedOperation)`` doesn't
work, but that was not noticed because ``io.UnsupportedOperation()``
mistakenly works.
+
+* hash({}.values()) works (but hash({}.keys()) correctly gives
+ TypeError). That's a bit confusing and, as far as I can tell, always
+ pointless.
More information about the pypy-commit
mailing list