[issue46783] Add a new feature to enumerate(iterable, start=0) built-in function

2022-02-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thank you for the suggestion, but we will decline. We looked at this before and decided not to go down this path, preferring instead to the keep the builtin function simple and focused on its core task of enumeration. To cover the rarer cases, it is a

[issue46783] Add a new feature to enumerate(iterable, start=0) built-in function

2022-02-17 Thread Zachary Ware
Change by Zachary Ware : -- assignee: docs@python -> components: +Library (Lib) -Build, Demos and Tools, Documentation, Interpreter Core nosy: -docs@python, lys.nikolaou versions: -Python 3.10, Python 3.7, Python 3.8, Python 3.9 ___ Python

[issue46783] Add a new feature to enumerate(iterable, start=0) built-in function

2022-02-17 Thread Larry Hastings
Change by Larry Hastings : -- components: -Argument Clinic nosy: -larry ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46783] Add a new feature to enumerate(iterable, start=0) built-in function

2022-02-17 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This has nothing to do with the parser so I'm removing the label. Please, next time make sure you select the appropriate categories when opening an issue -- components: -Parser ___ Python tracker

[issue46783] Add a new feature to enumerate(iterable, start=0) built-in function

2022-02-17 Thread Hossein
New submission from Hossein : Hi everyone. I have an idea which is add a new feature to enumerate(iterable, start=0) built-in function. I mean, "start" is ascending by default, we can add a feature to this function to change start in descending order. for example: enumerate(iterable,