FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-107178: Add the C API tests for the Abstract Objects Layer by serhiy-storchaka · Pull Request #107179 · python/cpython · GitHub

/ cpython Public

gh-107178: Add the C API tests for the Abstract Objects Layer - #107179

Merged
serhiy-storchaka merged 5 commits into
python:mainfrom
serhiy-storchaka:test-capi-abstract
Aug 7, 2023
Merged

gh-107178: Add the C API tests for the Abstract Objects Layer#107179
serhiy-storchaka merged 5 commits into
python:mainfrom
serhiy-storchaka:test-capi-abstract

Conversation

serhiy-storchaka commented Jul 24, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

Cover all the Mapping Protocol, almost all the Sequence Protocol (except PySequence_Fast) and a part of the Object Protocol.

Move existing tests to Lib/test/test_capi/test_abstract.py and Modules/_testcapi/abstract.c.

Cover all the Mapping Protocol, almost all the Sequence Protocol
(except PySequence_Fast) and a part of the Object Protocol.

Move existing tests to Lib/test/test_capi/test_abstract.py and
Modules/_testcapi/abstract.c.
serhiy-storchaka requested review from encukou, erlend-aasland and vstinner and removed request for a team July 25, 2023 07:32

Copy link
Copy Markdown
Contributor

Great work! I won't be able to review this until next week.

serhiy-storchaka removed needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Aug 7, 2023
serhiy-storchaka merged commit 16c9415 into python:main Aug 7, 2023
serhiy-storchaka deleted the test-capi-abstract branch August 7, 2023 15:51
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Aug 7, 2023
…Layer (pythonGH-107179)

Cover all the Mapping Protocol, almost all the Sequence Protocol
(except PySequence_Fast) and a part of the Object Protocol.

Move existing tests to Lib/test/test_capi/test_abstract.py and
Modules/_testcapi/abstract.c.

Add also tests for PyDict C API..
(cherry picked from commit 16c9415)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

Copy link
Copy Markdown

GH-107728 is a backport of this pull request to the 3.12 branch.

Yhg1s pushed a commit that referenced this pull request Aug 16, 2023
…H-107179) (#107728)

Cover all the Mapping Protocol, almost all the Sequence Protocol
(except PySequence_Fast) and a part of the Object Protocol.

Move existing tests to Lib/test/test_capi/test_abstract.py and
Modules/_testcapi/abstract.c.

Add also tests for PyDict C API..
(cherry picked from commit 16c9415)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests in the Lib/test dir topic-C-API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL