• Re: Request: inspect: signature & getfullargspec & getcallargs

    From Barry Scott@21:1/5 to All on Mon Dec 4 20:22:35 2023
    On 4 Dec 2023, at 02:29, Dom Grigonis via Python-list <python-list@python.org> wrote:

    Hello,

    I have a request.

    Would it be possible to include `follow_wrapper_chains` and `skip_bound_arg` arguments to higher level functions of `inspect` module?

    Would exposing them, but setting defaults to what they currently are, be possible?

    I sometimes need:
    * `getcallargs`, but without `bound_arg`
    * `getfullargspec` to `follow_wrapper_chains`
    * `signature` to include `bound_arg`.

    I suspect that you need to raise this as an idea on https://discuss.python.org/ to get the attention of the core devs.

    Barry



    Regards,
    DG
    --
    https://mail.python.org/mailman/listinfo/python-list


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)