[issue38613] Optimize some set operations in dictkeys object

Serhiy Storchaka report at bugs.python.org
Tue Oct 29 02:45:21 EDT 2019


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

But what if a dict subclass overrides __iter__? You can get different result if set(d) != set(d.keys()).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38613>
_______________________________________


More information about the Python-bugs-list mailing list