]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #25659: Change assert to TypeError in from_buffer/_copy()
authorMartin Panter <vadmium+py@gmail.com>
Sun, 20 Nov 2016 09:35:06 +0000 (09:35 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Sun, 20 Nov 2016 09:35:06 +0000 (09:35 +0000)
commitfd08fdc7bea38eeecf4838999114d6b490794ad6
treec5b3c61597b1111e7c28442892c8a816f65d6c04
parentf75a2ebbac3ab4a93856452d5ad843f7d50daaba
Issue #25659: Change assert to TypeError in from_buffer/_copy()

Based on suggestion by Eryk Sun.
Lib/ctypes/test/test_frombuffer.py
Misc/NEWS
Modules/_ctypes/_ctypes.c