[issue38613] Optimize some set operations in dictkeys object

Inada Naoki report at bugs.python.org
Tue Oct 29 02:20:01 EDT 2019


Inada Naoki <songofacandy at gmail.com> added the comment:

> How does it work with dict subclasses?

PySet_New(iterable) uses fast path only when `PyDict_CheckExact(iterable)` is true.

So there is no change for dict subclasses.

----------

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


More information about the Python-bugs-list mailing list