Message145797
| Author |
pitrou |
| Recipients |
eric.araujo, ezio.melotti, jcea, max-alleged, petri.lehtinen, pitrou, rhettinger, terry.reedy, vstinner, xuanji |
| Date |
2011年10月18日.11:32:07 |
| SpamBayes Score |
0.0037533385 |
| Marked as misclassified |
No |
| Message-id |
<1318937528.1.0.21960336978.issue12170@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> 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. |
|