[issue28953] Use `raise from` when raising new IncompleteRead

Ram Rachum report at bugs.python.org
Sat Dec 4 02:26:13 EST 2021


Ram Rachum <ram at rachum.com> added the comment:

Interesting feature Irit, thank you 

Two things:

1. Is there better documentation for that feature than what was in the CL of the issue you linked to? Because that documentation was more lawyery than explanatory.

2. If I understand correctly, the note is meant for things that don't exactly fit in the exception message for some reason or another. (A better documentation with examples would have given me a clearer understanding of your use cases.) I'm not sure why the message included here should be relegated to a note.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue28953>
_______________________________________


More information about the Python-bugs-list mailing list