]> granicus.if.org Git - python/commitdiff
Issue #27443: __length_hint__() of bytearray itearator no longer return
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 3 Jul 2016 11:42:17 +0000 (14:42 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 3 Jul 2016 11:42:17 +0000 (14:42 +0300)
negative integer for resized bytearray.

1  2 
Lib/test/test_bytes.py
Misc/NEWS
Objects/bytearrayobject.c

Simple merge
diff --cc Misc/NEWS
index 7dc5887dde99f800b4619d08769d89f82247cf24,a04212cd68744ffdacf11954a3e019fdf5e1d9b1..014ac547c14f110f7075891eebddbb5ce51277d5
+++ b/Misc/NEWS
@@@ -10,9 -10,9 +10,12 @@@ What's New in Python 3.6.0 alpha 
  Core and Builtins
  -----------------
  
+ - Issue #27443: __length_hint__() of bytearray itearator no longer return
+   negative integer for resized bytearray.
 +- Issue #27007: The fromhex() class methods of bytes and bytearray subclasses
 +  now return an instance of corresponding subclass.
 +
  Library
  -------
  
Simple merge