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 christian.heimes
Recipients christian.heimes, gvanrossum
Date 2007-10-26.13:50:38
SpamBayes Score 0.021330256
Marked as misclassified No
Message-id <1193406639.07.0.00963695082717.issue1335@psf.upfronthosting.co.za>
In-reply-to
Content
Here is the long promised bytes iterator view. It was much, *much*
easier to write it than I have thought. In fact I spent more time fixing
the indention than to modify the code from striterator.

I haven't written an unit test for it. The other iterators don't have
extra tests, too.

>>> iter(bytes(b"abc"))
<bytesiterator object at 0xb7cc578c>
>>> for i in iter(bytes(b"abc")): print(i)
...
97
98
99
>>> for i in bytes(b"abc"): print(i)
...
97
98
99
Files
File name Uploaded
py3k_bytesiterator.patch christian.heimes, 2007-10-26.13:50:38
History
Date User Action Args
2007-10-26 13:50:39christian.heimessetspambayes_score: 0.0213303 -> 0.021330256
recipients: + christian.heimes, gvanrossum
2007-10-26 13:50:39christian.heimessetspambayes_score: 0.0213303 -> 0.0213303
messageid: <1193406639.07.0.00963695082717.issue1335@psf.upfronthosting.co.za>
2007-10-26 13:50:38christian.heimeslinkissue1335 messages
2007-10-26 13:50:38christian.heimescreate