Message271660
I’m not familiar with the implementation, but it does seem like this should be fixed within _PyLong_AsByteArray().
Also, what about int.from_bytes(b"", ..., signed=True)? There are existing tests for this case, but it seems like it should be an error, rather than returning zero. |
|
Date |
User |
Action |
Args |
2016-07-30 01:21:55 | martin.panter | set | recipients:
+ martin.panter, mark.dickinson, socketpair, serhiy.storchaka, abarry, lucasem, Phaqui |
2016-07-30 01:21:55 | martin.panter | set | messageid: <1469841715.79.0.66368354338.issue27623@psf.upfronthosting.co.za> |
2016-07-30 01:21:55 | martin.panter | link | issue27623 messages |
2016-07-30 01:21:55 | martin.panter | create | |
|