Ticket #6043 enhancement closed fixed
Utility object for iterating bytestrings
| Reported by: | itamar | Owned by: | itamar |
|---|---|---|---|
| Priority: | normal | Milestone: | Python 3.3 Minimal |
| Component: | core | Keywords: | |
| Cc: | Branch: | branches/bytes-py3-6043 | |
| Author: | itamarst | Launchpad Bug: |
Description (last modified by itamar) (diff)
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[1]') to not return an integer.
Change History
Note: See
TracTickets for help on using
tickets.
