]> granicus.if.org Git - python/commit
Issue #25659: Change assert to TypeError in from_buffer/_copy()
authorMartin Panter <vadmium+py@gmail.com>
Sun, 20 Nov 2016 07:58:35 +0000 (07:58 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Sun, 20 Nov 2016 07:58:35 +0000 (07:58 +0000)
commit6e723d2d11c9a154c301a231788981a9b087aec5
tree614e436f74dcc758e47d9084b23608e453c582ba
parent395733d46bbc23d2f559eba4e5f75783f9bca6f1
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