[New-bugs-announce] [issue43305] A typo in /Modules/_io/bufferedio.c

Ma Lin report at bugs.python.org
Tue Feb 23 09:05:58 EST 2021


New submission from Ma Lin <malincns at 163.com>:

654    PyErr_Fetch(&t, &v, &tb);
655    if (v == NULL || !PyErr_GivenExceptionMatches(v, PyExc_BlockingIOError)) {
                                                     ↑  this should be t
https://github.com/python/cpython/blob/v3.10.0a5/Modules/_io/bufferedio.c#L654-L655

Does this need a test case?

----------
components: IO
messages: 387570
nosy: malin
priority: normal
severity: normal
status: open
title: A typo in /Modules/_io/bufferedio.c
type: behavior
versions: Python 3.10, Python 3.9

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


More information about the New-bugs-announce mailing list