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 serhiy.storchaka
Recipients serhiy.storchaka, steven.daprano, xuancong84
Date 2021-08-17.07:10:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629184245.93.0.773366549358.issue44930@roundup.psfhosted.org>
In-reply-to
Content
I concur with Steven.

Before range() and enumerate() were introduced there were discussions about introducing dedicated syntax. But it was decided that builtin functions are more preferable. range() was improved in Python 3, so you do not need to waste memory and time for a temporary list if you do not need it. You can create a list only if you absolutely need a list, and you can do it with the list constructor.
History
Date User Action Args
2021-08-17 07:10:45serhiy.storchakasetrecipients: + serhiy.storchaka, steven.daprano, xuancong84
2021-08-17 07:10:45serhiy.storchakasetmessageid: <1629184245.93.0.773366549358.issue44930@roundup.psfhosted.org>
2021-08-17 07:10:45serhiy.storchakalinkissue44930 messages
2021-08-17 07:10:45serhiy.storchakacreate