Message306305
There is the same issue with LimitOverrunError.
I'm not sure that we should keep args the same. It affects __str__ and __repr__. badouxn overrides __str__. And the result of __repr__ currently looks like the exception constructor, but actually is not compatible with it.
>>> IncompleteReadError(b'abc', 10)
IncompleteReadError('3 bytes read on a total of 10 expected bytes',) |
|
Date |
User |
Action |
Args |
2017-11-15 19:52:59 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, yselivanov, badouxn |
2017-11-15 19:52:59 | serhiy.storchaka | set | messageid: <1510775579.43.0.213398074469.issue32034@psf.upfronthosting.co.za> |
2017-11-15 19:52:59 | serhiy.storchaka | link | issue32034 messages |
2017-11-15 19:52:59 | serhiy.storchaka | create | |
|