Skip to content

Commit 5f1ef32

Browse files
committed
Add NEWS entries
1 parent d0441c4 commit 5f1ef32

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Fix :c:func:`PyBytesWriter_Resize` to handle properly memory allocation
2+
failure. Leave the writer unchanged on error, instead of leaving it in an
3+
inconsistent state. Patch by Victor Stinner.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
If :meth:`bytearray.resize` or :meth:`bytearray.take_bytes` fails, leave the
2+
:class:`bytearray` unchanged, instead of clearing it. Patch by Victor
3+
Stinner.

0 commit comments

Comments
 (0)