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 uwinx
Recipients ezio.melotti, uwinx, vstinner
Date 2021-01-03.13:09:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609679382.47.0.0845431201313.issue42816@roundup.psfhosted.org>
In-reply-to
Content
Split string by given separator and return iterator as a result.

The naive and not very efficient solution would be using current str.split:

def split_iter(self: str, sep: str) -> 'Iterator[str]':
    return iter(self.split(sep))

Probably, need we'll some better solution without allocating new list.
History
Date User Action Args
2021-01-03 13:09:42uwinxsetrecipients: + uwinx, vstinner, ezio.melotti
2021-01-03 13:09:42uwinxsetmessageid: <1609679382.47.0.0845431201313.issue42816@roundup.psfhosted.org>
2021-01-03 13:09:42uwinxlinkissue42816 messages
2021-01-03 13:09:42uwinxcreate