Message416083
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 a public interface of the set class
- CPython already has tests grouped into dedicated packages
- the target package undefines NDEBUG thus making asserts available in release builds
- a user may choose to omit the tests from a build not carrying them around
- a file of 2.5k lines of codes becomes 152 lines smaller. |
|
Date |
User |
Action |
Args |
2022-03-26 19:16:33 | arhadthedev | set | recipients:
+ arhadthedev |
2022-03-26 19:16:33 | arhadthedev | set | messageid: <1648322193.52.0.0635664464356.issue47132@roundup.psfhosted.org> |
2022-03-26 19:16:33 | arhadthedev | link | issue47132 messages |
2022-03-26 19:16:33 | arhadthedev | create | |
|