This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author arhadthedev
Recipients arhadthedev
Date 2022-03-26.19:16:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:33arhadthedevsetrecipients: + arhadthedev
2022-03-26 19:16:33arhadthedevsetmessageid: <>
2022-03-26 19:16:33arhadthedevlinkissue47132 messages
2022-03-26 19:16:33arhadthedevcreate