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 andrei.avk
Recipients andrei.avk, defreng, ezio.melotti, lukasz.langa, michael.foord, rbcollins, rmast, santhu_reddy12, serhiy.storchaka, terry.reedy, xtreak, zach.ware
Date 2021-08-21.14:36:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629556584.17.0.500883219355.issue41322@roundup.psfhosted.org>
In-reply-to
Content
Karthikeyan: I was looking into them yesterday, and:

 - distutils ones can probably be left as is because distutils are set for removal in 3.12

 - test_constructor should be fixed, I can do that today.

 - test_null_strings in test_capi I'm not sure, I think it can also be fixed here:
https://github.com/python/cpython/blob/main/Modules/_testcapimodule.c#L2388

   .. by replacing return line with     Py_RETURN_NONE;

  but I haven't worked with C tests before and it looks like some other C api tests also return non-null and not None values, but they didn't trigger the deprecation when running a test PR I made yesterday here:

https://github.com/python/cpython/pull/27869/checks?check_run_id=3387700689
History
Date User Action Args
2021-08-21 14:36:24andrei.avksetrecipients: + andrei.avk, terry.reedy, rbcollins, ezio.melotti, michael.foord, lukasz.langa, zach.ware, serhiy.storchaka, xtreak, defreng, santhu_reddy12, rmast
2021-08-21 14:36:24andrei.avksetmessageid: <1629556584.17.0.500883219355.issue41322@roundup.psfhosted.org>
2021-08-21 14:36:24andrei.avklinkissue41322 messages
2021-08-21 14:36:24andrei.avkcreate