public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [RFA v2 0/7] more cleanup removal in Python
@ 2017-02-09 21:25 Tom Tromey
  2017-02-09 21:25 ` [RFA v2 2/7] Turn gdbpy_ref into a template Tom Tromey
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Tom Tromey @ 2017-02-09 21:25 UTC (permalink / raw)
  To: gdb-patches

This is version 2 of my cleanup removal patch for the Python code.

Version 1 is here:
https://sourceware.org/ml/gdb-patches/2017-01/msg00279.html

I think this version addresses all the review comments; but there are
some other changes from v1:

* As discussed, use gdbpy_ref<> to wrap PyObject*; the old
  "gdbpy_subclass" is now just a different instantiation of gdbpy_ref.
  The initial work for this is done in a new patch (patch #2 in this
  series), for clarity.

* Drop the ui_file_up patch, as this was done in a better way by
  Pedro.

* Add a couple of obvious patches for issues I found while working on
  this again: remove a couple of unused local variables, and fix a
  couple of Python test cases.

* Fix one instance of the "declare gdbpy_ref object before a
  gdbpy_enter object" bug that I found while re-reviewing the patch in
  this series that adds some gdbpy_ref uses.

I built and tested the series locally; but I'm also running it through
the buildbot.

Let me know what you think.

Tom


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-02-10 19:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-09 21:25 [RFA v2 0/7] more cleanup removal in Python Tom Tromey
2017-02-09 21:25 ` [RFA v2 2/7] Turn gdbpy_ref into a template Tom Tromey
2017-02-09 21:25 ` [RFA v2 4/7] Change one more spot to use gdbpy_ref Tom Tromey
2017-02-09 21:25 ` [RFA v2 1/7] Remove some ui_out-related cleanups from Python Tom Tromey
2017-02-10 15:57   ` Simon Marchi
2017-02-10 19:18     ` Tom Tromey
2017-02-09 21:25 ` [RFA v2 6/7] Remove unnecessary local variables Tom Tromey
2017-02-09 21:25 ` [RFA v2 7/7] Fix Python test to use lowercase command Tom Tromey
2017-02-09 21:25 ` [RFA v2 5/7] Remove some gotos from Python Tom Tromey
2017-02-09 21:25 ` [RFA v2 3/7] Use gdbpy_ref to simplify some logic Tom Tromey
2017-02-10 16:21 ` [RFA v2 0/7] more cleanup removal in Python Simon Marchi
2017-02-10 16:36   ` Pedro Alves
2017-02-10 19:18     ` Tom Tromey

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).