GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add C API tests for PyObject_CopyData and PyBuffer_FillContiguousStrides · Issue #160688 · python/cpython

Add C API tests for PyObject_CopyData and PyBuffer_FillContiguousStrides #160688

New issue
Copy link
New issue
Copy link
Open
Open
Add C API tests for PyObject_CopyData and PyBuffer_FillContiguousStrides#160688
Copy link
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtopic-C-API

Description

@Davien21
Davien21
opened on Oct 26, 2026
Issue body actions

Part of #94808.

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.

Linked PRs

  • gh-160688: Add tests for PyObject_CopyData() and PyBuffer_FillContiguousStrides() #160701

Activity

  1. Davien21
    added a commit that references this issue on Oct 26, 2026

    pythongh-160688: Add tests for PyObject_CopyData() and PyBuffer_FillC…

    c71873b
  2. NekoAsakura
    added
    testsTests in the Lib/test dirTests in the Lib/test dir
    topic-C-API
    on Oct 26, 2026
  3. Davien21
    added a commit that references this issue on Oct 26, 2026

    pythongh-160688: Add tests for PyObject_CopyData() and PyBuffer_FillC…

    85e4186
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirTests in the Lib/test dirtopic-C-API

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.