Message145797
> I made the
> decision to raise a ValueError decision because __contains__ of both
> bytes and bytearray raise a ValueError when passed an integer not in
> range(0, 256).
That sounds reasonable. OverflowError would have been another choice, but I agree that consistency with __contains__ is sensible. |
|
| Date |
User |
Action |
Args |
| 2011-10-18 11:32:08 | pitrou | set | recipients:
+ pitrou, rhettinger, terry.reedy, jcea, vstinner, ezio.melotti, eric.araujo, xuanji, max-alleged, petri.lehtinen |
| 2011-10-18 11:32:08 | pitrou | set | messageid: <[email protected]> |
| 2011-10-18 11:32:07 | pitrou | link | issue12170 messages |
| 2011-10-18 11:32:07 | pitrou | create | |
|