◐ Shell
clean mode source ↗

gh-111495: Add tests for PyTuple C API by rawwar · Pull Request #111606 · python/cpython

@rawwar

@rawwar rawwar commented

Nov 1, 2023

edited by bedevere-app Bot

Loading

Signed-off-by: kalyanr <kalyan.ben10@live.com>
Signed-off-by: kalyanr <kalyan.ben10@live.com>
Signed-off-by: kalyanr <kalyan.ben10@live.com>
Signed-off-by: kalyanr <kalyan.ben10@live.com>
Signed-off-by: kalyanr <kalyan.ben10@live.com>
Signed-off-by: kalyanr <kalyan.ben10@live.com>

@rawwar

Hello @serhiy-storchaka , I am not sure how to write tests for the following C API's. Can you please help me with some ideas. Thanks!

  1. PyTuple_Pack
  2. PyTuple_SetItem
  3. PyTuple_SET_ITEM
  4. PyTuple_Resize

@rawwar rawwar marked this pull request as ready for review

November 1, 2023 19:27

@rawwar rawwar marked this pull request as draft

November 4, 2023 04:01

@skirpichev

@rawwar, are you working on this? Regarding ideas, you could take look on other tests for C-API, e.g. for lists.

@rawwar

@rawwar, are you working on this? Regarding ideas, you could take look on other tests for C-API, e.g. for lists.

Thanks. I will go through them. Will be looking into this over the weekend

@rawwar

I won't be able to complete this PR at this time.

@skirpichev

I'll try to finish your work.