Skip to content

Add the C API tests for Mapping Protocol and Sequence Protocol #107178

Description

@serhiy-storchaka

Currently only few functions in these protocols are covered by tests: PyMapping_Keys, PyMapping_Values, PyMapping_Items, PyMapping_HasKey, PyMapping_HasKeyString, PySequence_SetSlice, PySequence_DelSlice. Since we just added few new functions (PyMapping_GetOptionalItem, etc) and are planning to deprecate other functions (PyMapping_HasKey, etc), we need more tests.

Linked PRs

Activity

  1. added a commit that references this issue on Jul 24, 2023
  2. added
    testsTests in the Lib/test dir
    3.11only security fixes
    3.12only security fixes
    3.13only security fixes
    and removed
    type-featureA feature request or enhancement
    on Jul 24, 2023
  3. added 2 commits that reference this issue on Aug 7, 2023
  4. added a commit that references this issue on Aug 16, 2023
  5. added 2 commits that reference this issue on Aug 24, 2023
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

    3.12only security fixes3.13only security fixestestsTests in the Lib/test dirtopic-C-API

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions