From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id yQWlBQWmC2nb5CMAWB0awg (envelope-from ) for ; Wed, 05 Nov 2025 14:31:17 -0500 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=comcast.net header.i=@comcast.net header.a=rsa-sha256 header.s=20190202a header.b=xT8ADPK4; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 142781E0BC; Wed, 05 Nov 2025 14:31:17 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id BDA2C1E04C for ; Wed, 05 Nov 2025 14:31:16 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 76F9D3854813 for ; Wed, 5 Nov 2025 19:31:16 +0000 (GMT) Received: from resqmta-h2p-567061.sys.comcast.net (resqmta-h2p-567061.sys.comcast.net [IPv6:2001:558:fd02:2446::6]) by sourceware.org (Postfix) with ESMTPS id 927E9385C6F0 for ; Wed, 5 Nov 2025 19:30:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 927E9385C6F0 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=comcast.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=comcast.net ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 927E9385C6F0 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:558:fd02:2446::6 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1762371051; cv=none; b=cc7XPfr5aLsRWefAAphdiIoG9jIgNRQGXoILaCQx/dLMLs0O1UauLCgLW0GJV3E2gnsVdTQv19OZEd5e85gM70M4p+g4o7RiVDzfoUae1kiZjYNBuxZFa31+uVzzavCfjibAIsUvtUN7g0k3WAabw9LnMrevdNhAKmzVUVqKK0Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1762371051; c=relaxed/simple; bh=UOAcpiSh4tTKI1ox3neiwMkdx4xl7kWE3HKI2/U3EJE=; h=DKIM-Signature:Mime-Version:Subject:From:Date:Message-Id:To; b=RBOPwQxZU+kqmIKpVJl50S34KIAX/6c2TjY6AfjcltU6dwCrWGY4GEm5Cmr4yujE91LN8fehVic2rKGQGG3PJK/SC7eUWxi3uYD2h5CZCwxnBX6OxCqa5Hn5uJUdQViWO+WMMRJwL3/CUX+zAuLTVJhRTMkuEkloF1JX6VtW/Go= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from resomta-h2p-555059.sys.comcast.net ([96.102.179.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resqmta-h2p-567061.sys.comcast.net with ESMTPS id GeYSvw8fGdYayGjDVvxdrZ; Wed, 05 Nov 2025 19:30:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1762371050; bh=R3UqwLUEozYwaMxNP+Fp70a5ltgJ+rFsYhs1h+6ysKQ=; h=Received:Received:Content-Type:Mime-Version:Subject:From:Date: Message-Id:To:Xfinity-Spam-Result; b=xT8ADPK4NovEloIwHCti1SYRlresJmsCcvYX+fT4RsottR71YjDQEh7oh26Pow9fb cx/Jk2hQj79yT27BGCCfRfz3OGxBr1o+QYem3KGfCTiUpBKweNBPb2cjy5lRvCbaBs 1qkP9nosWXAfjcfXNkFmivzoW7+UekoPfme7X66Y30AVSOxXuHEi4/xt4yvlW9v14S rL08UzKfaqmqvTFd9754Zd+enMTS7g0TtjSopUE9v34QbtqsXHf1AFgQuMpfIsL1rA A7D6b53isBEoHPUaiQ/InAgRbFhCjVLxM+FHc3byrPAditlv0wW0Ky7aMY0VOPTCqo 6xYBqS+HmIPMg== Received: from smtpclient.apple ([73.60.223.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 256/256 bits) (Client did not present a certificate) by resomta-h2p-555059.sys.comcast.net with ESMTPSA id GjDSvwI4MO38bGjDUv3kQ7; Wed, 05 Nov 2025 19:30:49 +0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: Re: [PATCH] Minor doc fix for Python Type.fields From: Paul Koning In-Reply-To: <877bw49t6j.fsf@tromey.com> Date: Wed, 5 Nov 2025 14:30:35 -0500 Cc: gdb-patches@sourceware.org Content-Transfer-Encoding: quoted-printable Message-Id: <5E6B1564-7155-4B31-A590-8A0FE95ED33F@comcast.net> References: <20251105181059.3444537-1-tromey@adacore.com> <7B3296F3-200D-42C9-83E9-FFF258812844@comcast.net> <87bjlg9u6t.fsf@tromey.com> <877bw49t6j.fsf@tromey.com> To: Tom Tromey X-Mailer: Apple Mail (2.3826.700.81) X-CMAE-Envelope: MS4xfNrrU/vzXaJgDJOn6Nih6Y4bkqRbjn8AAAFZgEd1G4Euo7dDWL1zhXfAgAOGkvNtgALaM4LKDh1Cu6l/2mfJUu2kB+cM8XCHKqApbGLAEnILRmTcLUZS DHOrnggIsG9PQpWcykIQURvLhFteZtjaEsrI5yQ1TRzfoxDb741U9JhXCFc1j7CdojyRu4FphjaVv5oW2pncARk0Q5uCJpi0WH5OMvFs8CP7i/5xshmAFt8R X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org > On Nov 5, 2025, at 2:27=E2=80=AFPM, Tom Tromey = wrote: >=20 > Paul> My point is slightly different. No matter what sequence type is > Paul> returned, for a given Type object the value of the sequence > Paul> returned would be the same if you call that method twice, right? >=20 > If gdb returns a memoized list, then modifications to the list will > affect other calls. But, that would be undesirable. >=20 > Tom Yes, I wasn't thinking of someone modifying that value. I don't know a = short expression for "tuple or new list". Would it be hard to make it a tuple and not worry for now if it's = memoized or not? That way you get the immutable property which makes = sense to have. paul