[issue38769] generators are currently hashable
Tim Peters
report at bugs.python.org
Mon Nov 11 17:02:49 EST 2019
Tim Peters <tim at python.org> added the comment:
Function objects can be used as dict keys too. Given that, it would be _very_ surprising if generator-iterators weren't. I don't really see a good point to leaving this open. Live with it - it's a feature ;-)
----------
nosy: +tim.peters
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38769>
_______________________________________
More information about the Python-bugs-list
mailing list