mirror of
https://github.com/python/cpython.git
synced 2025-08-18 15:51:23 +00:00
#9543: Fix regression introduced in r83624.
This commit is contained in:
parent
13bc24b4a4
commit
b833fa88d3
2 changed files with 26 additions and 1 deletions
|
@ -299,7 +299,7 @@ class _fileobject(object):
|
|||
finally:
|
||||
if write_offset < data_size:
|
||||
remainder = data[write_offset:]
|
||||
del view, data # explicit free
|
||||
del data # explicit free
|
||||
self._wbuf.append(remainder)
|
||||
self._wbuf_len = len(remainder)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue