Author: Armin Rigo <[email protected]>
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.
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit