[New-bugs-announce] [issue28953] Use `raise from` when raising new IncompleteRead

Ram Rachum report at bugs.python.org
Mon Dec 12 16:43:13 EST 2016


New submission from Ram Rachum:

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.

----------
components: Library (Lib)
files: 1.patch
keywords: patch
messages: 283052
nosy: cool-RR
priority: normal
severity: normal
status: open
title: Use `raise from` when raising new IncompleteRead
versions: Python 3.7
Added file: http://bugs.python.org/file45865/1.patch

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


More information about the New-bugs-announce mailing list