aboutsummaryrefslogtreecommitdiff
path: root/tests/basics/memoryview_slice_assign.py
AgeCommit message (Collapse)Author
2020-07-21py/obj.h: Fix mp_seq_replace_slice_no_grow to use memmove not memcpy.Damien George
Because the argument arrays may overlap, as show by the new tests in this commit. Also remove the debugging comments for these macros, add a new comment about overlapping regions, and separate the macros by blank lines to make them easier to read. Fixes issue #6244. Signed-off-by: Damien George <damien@micropython.org>
2020-07-21tests/basics: Split out memoryview slice-assign tests to separate file.Damien George
Signed-off-by: Damien George <damien@micropython.org>