◐ Shell
clean mode source ↗

gh-105373: Remove PyArg_Parse() deprecation by vstinner · Pull Request #105394 · python/cpython

Argument Clinic generates PyArg_Parse() calls for some function signatures.

There are around 69 calls to PyArg_Parse() in the CPython code base, included 15 genereated by Argument Clinic.

If we really want to get ride of it, we should be good citizen and start by cleaning our own code base.

But here I agree with @serhiy-storchaka, this function is fine and should be kept.

If there are use cases where others functions are more appropriated, maybe the doc should be enhanced?
https://docs.python.org/dev/c-api/arg.html#c.PyArg_Parse

@methane: What do you think?