Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Phil Muldoon <pmuldoon@redhat.com>
To: Doug Evans <dje@google.com>
Cc: Paul Koning <Paul_Koning@dell.com>,
	       gdb-patches <gdb-patches@sourceware.org>
Subject: Re: Why do functions objfpy_new and pspy_new exist?
Date: Wed, 01 Oct 2014 18:10:00 -0000	[thread overview]
Message-ID: <542C43A1.7050503@redhat.com> (raw)
In-Reply-To: <CADPb22TKh6s-NN61HHu=mwf99uu6hTQHOH+GEiVeZmg++H58Zw@mail.gmail.com>

On 25/09/14 23:07, Doug Evans wrote:
>>
>>
>> I really don't disagree with you Paul.  But we have to prove
>> plausible, and perhaps wait until someone turns up and says "oh I have
>> this plausible scenario".  Perhaps a patch to gdb-patches and a
>> suitable wait is OK, (though I am not sure GDB Python users read that
>> list).  It is, trust me, a frequent frustration for me to add
>> yet-another-keyword-while-preserving-original-behavior, especially
>> with the Python 2.x and 3.x as well.  It is, I think, becoming
>> impossible to manage.
>>
>> I don't have an objection beyond does this break the API promise.
>> That's all I care about.  I did not make that promise -- these
>> decisions were made before my time.  But I think we should uphold it.
>> Maybe if GDB future releases requires only Python 3.x in future we can
>> amend that.
>
> I know I've mentioned this before, but since the topic has come up again,
> I think GDB could have a formal deprecation process that would allow
> us to remove things we'd like to remove (this is for API-like things
> which are harder to remove than, e.g., outdated ports).
>
> For the case at hand, as a strawman proposal, what if we add to 7.9 a
> proposal to remove the non-useful functionality with a note saying
> that if no one presents a compelling case for keeping it then it will
> be removed 5 releases later (or some such).  2.5 years feels long
> enough for this.  I can imagine choosing a longer or short amount of
> time depending on what's being deprecated.  The point is there's a
> process and we use it to clean up GDB.
>
> [This is simpler than the general one I have in mind.
> I'm just throwing out the idea to see if it sticks. :-)]
>
> Also, we could have a moratorium on adding more tp_new methods that
> don't have a use-case.
> That we can do today.

That sounds like a plausible plan.  The next step is documenting it in
the wiki and/or other places.

Cheers

Phil




  reply	other threads:[~2014-10-01 18:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-24 21:38 Doug Evans
2014-09-25 10:09 ` Phil Muldoon
2014-09-25 15:18   ` Paul_Koning
2014-09-25 21:29     ` Phil Muldoon
2014-09-25 22:07       ` Doug Evans
2014-10-01 18:10         ` Phil Muldoon [this message]
2014-10-02 22:11         ` Stan Shebs

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=542C43A1.7050503@redhat.com \
    --to=pmuldoon@redhat.com \
    --cc=Paul_Koning@dell.com \
    --cc=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    /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