From: Tom Tromey <tom@tromey.com>
To: Tom de Vries <tdevries@suse.de>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] [gdb/python] Add non-variadic versions of PyObject_CallMethod
Date: Mon, 10 Jun 2024 14:09:17 -0600 [thread overview]
Message-ID: <87sexkimqa.fsf@tromey.com> (raw)
In-Reply-To: <20240610181345.11009-1-tdevries@suse.de> (Tom de Vries's message of "Mon, 10 Jun 2024 20:13:45 +0200")
>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:
Tom> Add non-variadic versions of PyObject_CallMethod that hide these details, such
Tom> that we can use the more intuitive:
I think this idea makes sense, but it's inadvisable to overload a
Python-supplied function with gdb-supplied functions of the same name.
I think choosing a different (gdb-specific) name would be better.
Tom> +template<typename T>
Templates shouldn't be needed, ordinary overloading has the same effect.
thanks,
Tom
next prev parent reply other threads:[~2024-06-10 20:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-10 18:13 Tom de Vries
2024-06-10 20:09 ` Tom Tromey [this message]
2024-06-10 22:23 ` Tom de Vries
2024-06-11 8:57 ` Tom de Vries
2024-06-11 18:38 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sexkimqa.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb-patches@sourceware.org \
--cc=tdevries@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).