Skip to content

Commit 35f9856

Browse files
Update Modules/_io/bytesio.c
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent 1a667a4 commit 35f9856

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Modules/_io/bytesio.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ write_bytes_lock_held(bytesio *self, PyObject *b)
202202
}
203203

204204
Py_buffer buf;
205-
/* Issue #143378: Prevent re-entrant mutation during PyObject_GetBuffer() */
206205
self->exports++;
207206
if (PyObject_GetBuffer(b, &buf, PyBUF_CONTIG_RO) < 0) {
208207
self->exports--;

0 commit comments

Comments
 (0)