消息 [145797]
> 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. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2011-10-18 11:32:08 | pitrou | 修改 | recipients:
+ pitrou, rhettinger, terry.reedy, jcea, vstinner, ezio.melotti, eric.araujo, xuanji, max-alleged, petri.lehtinen |
| 2011-10-18 11:32:08 | pitrou | 修改 | messageid: <1318937528.1.0.21960336978.issue12170@psf.upfronthosting.co.za> |
| 2011-10-18 11:32:07 | pitrou | 链接 | issue12170 messages |
| 2011-10-18 11:32:07 | pitrou | 创建 | |
|