Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

19 May, 2024: Line wrapping has been changed to be more consistent with Usenet standards.
 If you find that it is broken please let me know here rocksolid.nodes.help


devel / comp.lang.python / Re: Request: inspect: signature & getfullargspec & getcallargs

SubjectAuthor
o Request: inspect: signature & getfullargspec & getcallargsBarry Scott

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

<mailman.324.1701721374.3828.python-list@python.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24835&group=comp.lang.python#24835

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.neodome.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: barry@barrys-emacs.org (Barry Scott)
Newsgroups: comp.lang.python
Subject: Re: Request: inspect: signature & getfullargspec & getcallargs
Date: Mon, 4 Dec 2023 20:22:35 +0000
Lines: 34
Message-ID: <mailman.324.1701721374.3828.python-list@python.org>
References: <A1BF355D-FF4C-4224-AFA0-AD5D9393849C@gmail.com>
<F13E1DED-B184-4609-9A83-0ED6BD51BB8B@barrys-emacs.org>
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.200.91.1.1\))
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de tX/UbarJePuDQEKqcch9FwvV/PoWIH/aK9CwjThPeoiA==
Cancel-Lock: sha1:x0aonnw3kuw3i7BMrgqZaKFZaqI= sha256:EiM7cZoSGy7dxUksLt8AaV99eONMLhvqXs1TeraBz9g=
Return-Path: <barry@barrys-emacs.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.002
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'cc:addr:python-list':
0.09; 'from:addr:barry': 0.09; 'received:gandi.net': 0.09;
'received:mail.gandi.net': 0.09; 'skip:` 10': 0.09; 'skip:` 20':
0.09; 'url-ip:184.105/16': 0.09; 'url:discuss': 0.09;
'url:mailman': 0.15; 'arguments': 0.16; 'barry': 0.16;
'cc:name:python': 0.16; 'defaults': 0.16; 'from:addr:barrys-
emacs.org': 0.16; 'from:name:barry scott': 0.16; 'message-id
:@barrys-emacs.org': 0.16; 'possible?': 0.16; 'wrote:': 0.16;
'cc:addr:python.org': 0.20; 'idea': 0.24; 'url-
ip:188.166.95.178/32': 0.25; 'url-ip:188.166.95/24': 0.25;
'url:listinfo': 0.25; 'cc:2**0': 0.25; 'url-ip:188.166/16': 0.25;
'suspect': 0.26; 'request.': 0.28; 'dec': 0.31; 'raise': 0.31;
'url-ip:188/8': 0.31; 'python-list': 0.32; 'but': 0.32; 'core':
0.34; 'header:In-Reply-To:1': 0.34; 'functions': 0.36;
'currently': 0.37; 'setting': 0.39; 'subject:Request': 0.39;
'hello,': 0.40; 'higher': 0.60; 'them,': 0.70; 'attention': 0.71;
'dom': 0.84; 'exposing': 0.84; 'subject:skip:g 10': 0.84
In-Reply-To: <A1BF355D-FF4C-4224-AFA0-AD5D9393849C@gmail.com>
X-Mailer: Apple Mail (2.3774.200.91.1.1)
X-GND-Sasl: barry@barrys-emacs.org
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <F13E1DED-B184-4609-9A83-0ED6BD51BB8B@barrys-emacs.org>
X-Mailman-Original-References: <A1BF355D-FF4C-4224-AFA0-AD5D9393849C@gmail.com>
 by: Barry Scott - Mon, 4 Dec 2023 20:22 UTC

> 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
>


devel / comp.lang.python / Re: Request: inspect: signature & getfullargspec & getcallargs

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor