This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients badouxn, serhiy.storchaka, yselivanov
Date 2017-11-15.19:52:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510775579.43.0.213398074469.issue32034@psf.upfronthosting.co.za>
In-reply-to
Content
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',)
History
Date User Action Args
2017-11-15 19:52:59serhiy.storchakasetrecipients: + serhiy.storchaka, yselivanov, badouxn
2017-11-15 19:52:59serhiy.storchakasetmessageid: <1510775579.43.0.213398074469.issue32034@psf.upfronthosting.co.za>
2017-11-15 19:52:59serhiy.storchakalinkissue32034 messages
2017-11-15 19:52:59serhiy.storchakacreate