Message271327
Docstring says:
The signed keyword-only argument determines whether two's complement is
used to represent the integer. If signed is False and a negative integer
is given, an OverflowError is raised.
But actually,
(130).to_bytes(1, 'big', signed=True)
will also trigger OverflowError |
|
Date |
User |
Action |
Args |
2016-07-26 06:20:38 | socketpair | set | recipients:
+ socketpair, docs@python |
2016-07-26 06:20:37 | socketpair | set | messageid: <1469514037.92.0.489318728995.issue27622@psf.upfronthosting.co.za> |
2016-07-26 06:20:37 | socketpair | link | issue27622 messages |
2016-07-26 06:20:37 | socketpair | create | |
|