You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add C API tests for PyObject_CopyData and PyBuffer_FillContiguousStrides #160688
Neither function has a wrapper in Modules/_testcapi or a test in Lib/test/test_capi. PyObject_CopyData has had real bugs (gh-143737) and there's an open overflow fix (gh-153690) with nothing to test it against. I'll add wrappers and tests along the lines of gh-158102, covering C/F order, non-contiguous sources, size mismatches and error paths.
Activity
pythongh-160688: Add tests for PyObject_CopyData() and PyBuffer_FillC…
pythongh-160688: Add tests for PyObject_CopyData() and PyBuffer_FillC…