]> granicus.if.org Git - python/commitdiff
#8401: merge with 3.2.
authorEzio Melotti <ezio.melotti@gmail.com>
Sat, 3 Nov 2012 19:22:41 +0000 (21:22 +0200)
committerEzio Melotti <ezio.melotti@gmail.com>
Sat, 3 Nov 2012 19:22:41 +0000 (21:22 +0200)
1  2 
Lib/test/test_bytes.py
Misc/NEWS
Objects/bytearrayobject.c

Simple merge
diff --cc Misc/NEWS
index 4689496181533da911715c242a01934ab4963cc8,1af684cf7b87afe369c9b86053276f4c261ccc4c..58af2850169d8dc639e6a18653e65788de533365
+++ b/Misc/NEWS
@@@ -12,9 -10,9 +12,12 @@@ What's New in Python 3.3.1
  Core and Builtins
  -----------------
  
+ - Issue #8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now
+   raises an error.
 +- Fix segfaults on setting __qualname__ on builtin types and attempting to
 +  delete it on any type.
 +
  - Issue #16345: Fix an infinite loop when ``fromkeys`` on a dict subclass
    received a nonempty dict from the constructor.
  
Simple merge