]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #8990: array.fromstring() and array.tostring() get renamed to
authorAntoine Pitrou <solipsis@pitrou.net>
Wed, 1 Sep 2010 20:29:34 +0000 (20:29 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Wed, 1 Sep 2010 20:29:34 +0000 (20:29 +0000)
commit1ce3eb5c5b4830e69b21865e2d723e22749544e0
tree324241bc0190ec3316b48ae4f5bd5b20e101bcf0
parent42cb4626820e466177e49c283e37e15375c3efed
Issue #8990: array.fromstring() and array.tostring() get renamed to
frombytes() and tobytes(), respectively, to avoid confusion.  Furthermore,
array.frombytes(), array.extend() as well as the array.array()
constructor now accept bytearray objects.  Patch by Thomas Jollans.
12 files changed:
Doc/library/array.rst
Lib/multiprocessing/managers.py
Lib/sre_compile.py
Lib/test/test_array.py
Lib/test/test_file.py
Lib/test/test_io.py
Lib/test/test_memoryio.py
Lib/test/test_memoryview.py
Lib/test/test_struct.py
Lib/wave.py
Misc/NEWS
Modules/arraymodule.c