Utility object for iterating bytestrings
|Reported by:||itamar||Owned by:||itamar|
|Priority:||normal||Milestone:||Python 3.3 Minimal|
(github, patch, buildbot, log)
Description (last modified by itamar)
Python 3 does not provide a way to iterate over individual bytes in a bytestring. We should provide a cross-version utility wrapper in twisted.python.compat.
A future enhancement might add % support on Python 3, another would fix indexing (e.g. b'abc') to not return an integer.
Change History (6)
comment:2 Changed 4 years ago by itamar
- Description modified (diff)
- Summary changed from Utility object for indexing and iterating bytestrings to Utility object for iterating bytestrings
comment:5 Changed 4 years ago by exarkun
- Keywords review removed
- Owner changed from exarkun to itamar