[issue17343] Add a version of str.split which returns an iterator

Brett Cannon report at bugs.python.org
Mon Mar 4 23:13:20 CET 2013


Brett Cannon added the comment:

There is no string view that I know of. Interesting idea, though, thanks to the immutability of strings. Would much have to be different other than boundary checking and __hash__ (and hoping extension authors are changing things in-place)?

I say go ahead and open the issue for the idea.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17343>
_______________________________________


More information about the Python-bugs-list mailing list