Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: Kevin Buettner <kevinb@redhat.com>
Cc: gdb-patches@sourceware.org,  Tom Tromey <tom@tromey.com>,
	   Ulrich Weigand <uweigand@de.ibm.com>
Subject: Re: [PATCH 2/4] Define gdb.Value(bufobj, type) constructor
Date: Tue, 19 Feb 2019 15:19:00 -0000	[thread overview]
Message-ID: <87wolvu7pk.fsf@tromey.com> (raw)
In-Reply-To: <20190218175720.6cf45742@f29-4.lan> (Kevin Buettner's message of	"Mon, 18 Feb 2019 17:57:20 -0700")

>>>>> "Kevin" == Kevin Buettner <kevinb@redhat.com> writes:

>> However, this seems like a decision to make consciously.
>> I'm not completely sure how to proceed, though one idea might be to find
>> the most recent Python 2.[456] compatibility patch and then asking the
>> author whether this support is still relevant.

Kevin> I didn't know of that compatibility patch, though I'll try to track it
Kevin> down.  (A pointer would be appreciated if you have one handy.)

I just recall it happening from time to time.  Using:

    git log --grep 'Python 2\.[4-6]'

... shows a couple maybe uninteresting patches, followed by:

commit 49840f2a6669ae2366c522da41edf615785b3626
Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Date:   Sun Mar 16 15:01:24 2014 +0100

    Fix Python 2.4 build break
    
    This fixes a build failure against Python 2.4 by casting away "const"
    on the second argument to PyObject_GetAttrString.  Similar casts to
    support Python 2.4 were already present in a number of other places.
    
    gdb/
    2014-03-16  Ulrich Weigand  <uweigand@de.ibm.com>
    
            * python/py-value.c (get_field_flag): Cast flag_name argument to
            PyObject_GetAttrString to support Python 2.4.

So, I've CC'd Ulrich.

Tom


  reply	other threads:[~2019-02-19 15:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20190218075816.6f67f3d9@f29-4.lan>
2019-02-18 15:03 ` [PATCH 1/4] Define unique_ptr specialization for Py_buffer Kevin Buettner
2019-02-18 15:06 ` [PATCH 2/4] Define gdb.Value(bufobj, type) constructor Kevin Buettner
2019-02-18 22:46   ` Tom Tromey
2019-02-19  0:57     ` Kevin Buettner
2019-02-19 15:19       ` Tom Tromey [this message]
2019-02-19 15:28         ` Ulrich Weigand
2019-02-19  2:41   ` Simon Marchi
2019-02-18 15:07 ` [PATCH 3/4] Add tests for " Kevin Buettner
2019-02-19  2:46   ` Simon Marchi
2019-02-18 15:09 ` [PATCH 4/4] Document two argument form of gdb.Value constructor Kevin Buettner
2019-02-18 16:13   ` Eli Zaretskii
2019-02-18 17:25     ` Kevin Buettner
2019-02-18 17:45       ` Eli Zaretskii
2019-02-19  2:48 ` [PATCH 0/4] Define gdb.Value(val, type) constructor Simon Marchi

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=87wolvu7pk.fsf@tromey.com \
    --to=tom@tromey.com \
    --cc=gdb-patches@sourceware.org \
    --cc=kevinb@redhat.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