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 — C API: Move limited C API tests from _testcapi to a new _testlimitedcapi extension · Issue #116417 · python/cpython

C API: Move limited C API tests from _testcapi to a new _testlimitedcapi extension #116417

New issue
Copy link
New issue
Copy link
Closed
Closed
C API: Move limited C API tests from _testcapi to a new _testlimitedcapi extension#116417
Copy link

Description

@vstinner
vstinner
opened on Mar 6, 2024
Issue body actions

Currently, the _testcapi C extension is partially built with the limited C API and partially with the non-limited C API. It can lead to some confusion: which API is being tested?

I proposed to create a new _testlimitedcapi extension which is only built with the limited C API. It can only access to the limited C API and so there is a lower risk to test the non-limited C API by mistake.

Linked PRs

  • gh-116417: Add _testlimitedcapi C extension #116419
  • [WIP] gh-116417: Move limited C API tests to _testlimitedcapi #116567
  • gh-116417: Avoid PyFloat_AS_DOUBLE() in AC limited C API #116568
  • gh-116417: Fix make check-c-globals for _testlimitedcapi #116570
  • gh-116417: Move 4 limited C API test files to _testlimitedcapi #116571
  • gh-116417: Argument Clinic: test generated Limited C API code for float args #116573
  • gh-116417: Build _testinternalcapi with limited C API version 3.5 #116598
  • gh-116417: Move limited C API list.c tests to _testlimitedcapi #116602
  • gh-116417: Fix WASI build of _testlimitedcapi #116974
  • gh-116417: Move limited C API abstract.c tests to _testlimitedcapi #116986
  • gh-116417: Move limited C API unicode.c tests to _testlimitedcapi #116993
  • gh-116417: Move limited C API long.c tests to _testlimitedcapi #117001
  • gh-116417: Move limited C API dict.c tests to _testlimitedcapi #117006
  • gh-116417: Move limited C API complex.c tests to _testlimitedcapi #117014
Reacted by Sam Gross and sobolevn

Activity

Next
  1. vstinner
    added 9 commits that reference this issue on Mar 6, 2024

    pythongh-116417: Add _testlimitedcapi C extension

    af160ec

    gh-116417: Add _testlimitedcapi C extension (#116419)

    d9bcdda

    pythongh-116417: Move limited C API tests to _testlimitedcapi

    3b01457

    pythongh-116417: Avoid PyFloat_AS_DOUBLE() in AC limited C API

    39e6d67

    pythongh-116417: Avoid PyFloat_AS_DOUBLE() in AC limited C API

    d3b6276

    gh-116417: Avoid PyFloat_AS_DOUBLE() in AC limited C API (#116568)

    729bfb3

    pythongh-116417: Fix make check-c-globals for _testlimitedcapi

    256fdc6

    pythongh-116417: Move 4 limited C API test files to _testlimitedcapi

    8569974

    gh-116417: Fix make check-c-globals for _testlimitedcapi (#116570)

    c5fa796
  2. erlend-aasland
    added 2 commits that reference this issue on Mar 10, 2024

    pythongh-116417: Argument Clinic: test generated Limited C API code f…

    e03947b

    gh-116417: Argument Clinic: test generated Limited C API code for flo…

    8d7fde6
  3. vstinner
    added 4 commits that reference this issue on Mar 11, 2024

    pythongh-116417: Move 4 limited C API test files to _testlimitedcapi

    29341e6

    gh-116417: Move 4 limited C API test files to _testlimitedcapi (#116571)

    1cc02ca

    pythongh-116417: Build _testinternalcapi with limited C API version 3.5

    580a4ba

    gh-116417: Build _testinternalcapi with limited C API version 3.5 (#1…

    546eb7a
  4. 47 remaining items

  5. serhiy-storchaka
    added a commit that references this issue on Apr 8, 2024

    gh-117642: Fix PEP 737 implementation (GH-117643)

    24a2bd0
  6. diegorusso
    added 14 commits that reference this issue on Apr 17, 2024

    pythongh-116417: Add _testlimitedcapi C extension (python#116419)

    98642ca

    pythongh-116417: Avoid PyFloat_AS_DOUBLE() in AC limited C API (pytho…

    7a97ca7

    pythongh-116417: Fix make check-c-globals for _testlimitedcapi (pytho…

    56b307f

    pythongh-116417: Argument Clinic: test generated Limited C API code f…

    1c4c950

    pythongh-116417: Move 4 limited C API test files to _testlimitedcapi (p…

    40ca5e7

    pythongh-116417: Build _testinternalcapi with limited C API version 3…

    cf33c8f

    pythongh-116417: Move limited C API list.c tests to _testlimitedcapi (…

    22b2a83

    pythongh-116417: Fix WASI build of _testlimitedcapi (python#116974)

    ceabb26

    pythongh-116417: Move limited C API abstract.c tests to _testlimitedc…

    9727d27

    pythongh-116417: Move limited C API unicode.c tests to _testlimitedca…

    835d28e

    pythongh-116417: Move limited C API long.c tests to _testlimitedcapi (p…

    ac4f5c4

    pythongh-116417: Move limited C API dict.c tests to _testlimitedcapi (p…

    a753d1c

    pythongh-116417: Move limited C API complex.c tests to _testlimitedca…

    34fac11

    pythongh-117642: Fix PEP 737 implementation (pythonGH-117643)

    7bfeb8b
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

    No labels
    No labels

    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.