This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients ammar2, eric.smith, wyz23x2
Date 2020-02-10.09:24:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581326643.13.0.235200557048.issue39596@roundup.psfhosted.org>
In-reply-to
Content
You can already do this using existing composable tools, including:

>>> list((item, idx) for idx, item in enumerate(lis))
[('a', 0), ('b', 1), ('c', 2), ('d', 3)]
>>>

We won't be adding a parameter to enumerate in order add another way of doing this.

If you really want to pursue this, you should discuss it on the python-ideas mailing list and try to get the idea accepted there. But it really doesn't have any chance of being accepted.
History
Date User Action Args
2020-02-10 09:24:03eric.smithsetrecipients: + eric.smith, ammar2, wyz23x2
2020-02-10 09:24:03eric.smithsetmessageid: <1581326643.13.0.235200557048.issue39596@roundup.psfhosted.org>
2020-02-10 09:24:03eric.smithlinkissue39596 messages
2020-02-10 09:24:02eric.smithcreate