Message271498
I don’t like special values. A length of minus one makes no sense, so should trigger an exception, not some unexpected behaviour. A different data type like None would be a bit better.
But I’m not sure this would be widely used. If you really need it you could calculate the number of bytes needed via value.bit_length(). |
|
Date |
User |
Action |
Args |
2016-07-28 04:59:08 | martin.panter | set | recipients:
+ martin.panter, socketpair |
2016-07-28 04:59:08 | martin.panter | set | messageid: <1469681948.79.0.826041534656.issue27637@psf.upfronthosting.co.za> |
2016-07-28 04:59:08 | martin.panter | link | issue27637 messages |
2016-07-28 04:59:08 | martin.panter | create | |
|