[New-bugs-announce] [issue31585] Refactor the enumerate.__next__ implementation

Serhiy Storchaka report at bugs.python.org
Tue Sep 26 01:27:26 EDT 2017

New submission from Serhiy Storchaka:

Currently the large and complex part of enum_next() and enum_next_long() in Objects/enumobject.c is duplicated. This increases the code size and makes harder maintaining the code. The proposed patch refactors the implementation and removes the code duplication.

components: Interpreter Core
messages: 303006
nosy: rhettinger, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Refactor the enumerate.__next__ implementation
type: enhancement
versions: Python 3.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list