Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Mar 11, 2024

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Mar 10, 2024

Move the following files from Modules/_testcapi/ to Modules/_testlimitedcapi/:

  • bytearray.c
  • bytes.c
  • pyos.c
  • sys.c

Update related test_capi tests.

Copy Modules/_testcapi/util.h to Modules/_testlimitedcapi/util.h.

Move the following files from Modules/_testcapi/ to
Modules/_testlimitedcapi/:

* bytearray.c
* bytes.c
* pyos.c
* sys.c

Changes:

* Replace PyBytes_AS_STRING() with PyBytes_AsString().
* Replace PyBytes_GET_SIZE() with PyBytes_Size().
* Update related test_capi tests.
* Copy Modules/_testcapi/util.h to Modules/_testlimitedcapi/util.h.
@vstinner vstinner enabled auto-merge (squash) March 11, 2024 09:57
@vstinner vstinner merged commit 1cc02ca into python:main Mar 11, 2024
32 checks passed
@vstinner vstinner deleted the limited_move branch March 11, 2024 10:28
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 25, 2024
…ython#116571)

Move the following files from Modules/_testcapi/ to
Modules/_testlimitedcapi/:

* bytearray.c
* bytes.c
* pyos.c
* sys.c

Changes:

* Replace PyBytes_AS_STRING() with PyBytes_AsString().
* Replace PyBytes_GET_SIZE() with PyBytes_Size().
* Update related test_capi tests.
* Copy Modules/_testcapi/util.h to Modules/_testlimitedcapi/util.h.
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
…ython#116571)

Move the following files from Modules/_testcapi/ to
Modules/_testlimitedcapi/:

* bytearray.c
* bytes.c
* pyos.c
* sys.c

Changes:

* Replace PyBytes_AS_STRING() with PyBytes_AsString().
* Replace PyBytes_GET_SIZE() with PyBytes_Size().
* Update related test_capi tests.
* Copy Modules/_testcapi/util.h to Modules/_testlimitedcapi/util.h.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant