]> granicus.if.org Git - python/commit
Merged revisions 77573 via svnmerge from
authorAntoine Pitrou <solipsis@pitrou.net>
Sun, 17 Jan 2010 12:31:10 +0000 (12:31 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Sun, 17 Jan 2010 12:31:10 +0000 (12:31 +0000)
commitbb667d433c9cf535dd2e574d039f4d905f53ff06
treee9d5baf036e65d70473e6ddd21aad9691e699f0e
parent437053eee37cce76563941c5ff546a4f96620367
Merged revisions 77573 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77573 | antoine.pitrou | 2010-01-17 13:26:20 +0100 (dim., 17 janv. 2010) | 6 lines

  Issue #7561: Operations on empty bytearrays (such as `int(bytearray())`)
  could crash in many places because of the PyByteArray_AS_STRING() macro
  returning NULL.  The macro now returns a statically allocated empty
  string instead.
........
Include/bytearrayobject.h
Lib/test/test_bytes.py
Misc/NEWS
Objects/bytearrayobject.c