[issue47132] Move tests from setobject.c to _testcapimodule

2022-03-26 Thread Dennis Sweeney
Change by Dennis Sweeney : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue47132] Move tests from setobject.c to _testcapimodule

2022-03-26 Thread Oleg Iarygin
Change by Oleg Iarygin : -- keywords: +patch pull_requests: +30213 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32133 ___ Python tracker ___ ___

[issue47132] Move tests from setobject.c to _testcapimodule

2022-03-26 Thread Oleg Iarygin
New submission from Oleg Iarygin : Currently, tests for PySet/PyFrozenSet C API are defined in Objects/setobject.c and available via set.test_c_api(). Moving them to, for example, _testcapimodule gives the following advantanges: - an internal, CPython-specific method stops being available in