New submission from Sergey Fedoseev <fedoseev.ser...@gmail.com>:
Currently __reduce__() implementation of set and dict iterators saves items to list using next/PyList_Append(), it could be simplified by using PySequence_List(). ---------- components: Interpreter Core messages: 324550 nosy: sir-sigurd priority: normal severity: normal status: open title: Simplify __reduce__() of set and dict iterators. type: enhancement versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34573> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com