[issue34573] Simplify __reduce__() of set and dict iterators.

Sergey Fedoseev report at bugs.python.org
Tue Sep 4 00:13:52 EDT 2018


New submission from Sergey Fedoseev <fedoseev.sergey at 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 <report at bugs.python.org>
<https://bugs.python.org/issue34573>
_______________________________________


More information about the Python-bugs-list mailing list