classification
Title: Use `raise from` when raising new IncompleteRead
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: cool-RR
Priority: normal Keywords: easy, patch

Created on 2016-12-12 21:43 by cool-RR, last changed 2021-06-22 21:31 by iritkatriel.

Files
File name Uploaded Description Edit
1.patch cool-RR, 2016-12-12 21:43 review
Messages (1)
msg283052 - (view) Author: Ram Rachum (cool-RR) * Date: 2016-12-12 21:43
I had this error come up in my code, and because it doesn't use `raise ... from` I thought that the second error was unexpected, while in fact it wasn't. This patch should fix that.
History
Date User Action Args
2021-06-22 21:31:52iritkatrielsetkeywords: + easy
versions: + Python 3.11, - Python 3.7
2016-12-12 21:43:40cool-RRsettype: behavior
2016-12-12 21:43:13cool-RRcreate