Message327501
You can in fact pass a dict to bytes(), as long as the keys are ints in the correct range:
>>> bytes({0:10, 1:20})
b'\x00\x01'
I'm not claiming it's very useful, but it does conform to the docs. I'm not sure the error message can be improved, so I suggest closing this issue. |
|
Date |
User |
Action |
Args |
2018-10-10 22:22:11 | eric.smith | set | recipients:
+ eric.smith, serhiy.storchaka, marnanel |
2018-10-10 22:22:11 | eric.smith | set | messageid: <1539210131.92.0.788709270274.issue34955@psf.upfronthosting.co.za> |
2018-10-10 22:22:11 | eric.smith | link | issue34955 messages |
2018-10-10 22:22:11 | eric.smith | create | |
|