From: Pedro Alves <palves@redhat.com>
To: Siva Chandra <sivachandra@google.com>,
gdb-patches <gdb-patches@sourceware.org>
Cc: Doug Evans <dje@google.com>, uweigand@de.ibm.com
Subject: Re: [PATCH] Fix py-xmethods.c when compiled with -Werror against Python 2.4
Date: Wed, 04 Jun 2014 19:57:00 -0000 [thread overview]
Message-ID: <538F7A06.4040108@redhat.com> (raw)
In-Reply-To: <CAGyQ6gydnP62Od_5iUv1PeCquRSVNNJky31C8ZwTDY3ret8ACQ@mail.gmail.com>
On 06/04/2014 07:05 PM, Siva Chandra wrote:
> Does the attached patch fix the issue pointed out by Ulrich Weigand
> here: https://sourceware.org/ml/gdb-patches/2014-06/msg00169.html
>
> ChangeLog
> 2014-06-04 Siva Chandra Reddy <sivachandra@google.com>
>
> * python/py-xmethods.c (invoke_match_method)
> (gdbpy_get_matching_xmethod_workers, gdbpy_get_xmethod_arg_types):
> Cast the second arg to PyObject_GetAttrString and
> PyObject_GetAttrString to char *.
>
How about we handle this in a central place, like Py_DECREF is
handled ? See python-internal.h.
--
Pedro Alves
next prev parent reply other threads:[~2014-06-04 19:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-04 18:05 Siva Chandra
2014-06-04 18:13 ` Joel Brobecker
2014-06-04 18:25 ` Siva Chandra
2014-06-04 19:24 ` Joel Brobecker
2014-06-04 19:23 ` Doug Evans
2014-06-04 19:57 ` Pedro Alves [this message]
2014-06-04 20:53 ` Siva Chandra
2014-06-04 21:06 ` Pedro Alves
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=538F7A06.4040108@redhat.com \
--to=palves@redhat.com \
--cc=dje@google.com \
--cc=gdb-patches@sourceware.org \
--cc=sivachandra@google.com \
--cc=uweigand@de.ibm.com \
/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