Victor Stinner
Victor Stinner
I decided to reject this API for now. It's too low-level and too error prone: https://github.com/capi-workgroup/decisions/issues/39#issuecomment-2396888574
> Since this PR was merged, many buildbots started consistently failing in test_multiprocessing tests. For example: https://buildbot.python.org/all/#/builders/725/builds/7475 FYI I created PR gh-117252 to track this failure to help triaging buildbot...
I created https://github.com/python/cpython/pull/116836 but then realized that it's too big, so I created this PR for changes which are not just moving code around. @erlend-aasland: Would you mind to review...
@erlend-aasland: Would you mind to review the updated PR?
I updated the PR: * I added a cache to create_parser_namespace(): since the function is called often and the dict only needs to be created once. Then we can just...
@erlend-aasland: Would you mind to review the updated PR?
> I think I missed how the parser namespace change interacts with how Argument Clinic lists converters; could you point it out again? Without this change, converters and return converters...
Merged, thanks for the review.
The regression was introduced by commit ea2c0016502472aa8baa3149050ada776d17a009: ``` commit ea2c0016502472aa8baa3149050ada776d17a009 Author: Eddie Elizondo Date: Sat Apr 22 15:39:37 2023 -0400 gh-84436: Implement Immortal Objects (gh-19474) This is the implementation of...
`_ctypes` code can be simplified to: ``` static int _ctypes_mod_exec(PyObject *mod) { ctypes_state *st = GLOBAL_STATE(); if (PyType_Ready(st->PyCData_Type) < 0) { return -1; } st->PyCStgDict_Type->tp_base = &PyDict_Type; if (PyType_Ready(st->PyCStgDict_Type) <...