Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Python gdb.Function is an old-style class?
@ 2016-07-21 17:22 Paul Smith
  2016-07-21 17:38 ` Paul_Koning
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Smith @ 2016-07-21 17:22 UTC (permalink / raw)
  To: gdb

Hi all; I am writing some Python functions that subclass from
gdb.Function, and I use super() to call the superclass __init__()

It works, but pylint is failing with an error "Use of super on an old
style class".  This is usually shown when a Python2 class does not
inherit, ultimately, from the object.

Is there something magic that needs to happen to make gdb.Function
recognized as a new-style class?


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

end of thread, other threads:[~2016-07-21 19:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-21 17:22 Python gdb.Function is an old-style class? Paul Smith
2016-07-21 17:38 ` Paul_Koning
2016-07-21 18:06   ` Paul_Koning
2016-07-21 18:37   ` Paul Smith
2016-07-21 18:50     ` Phil Muldoon
2016-07-21 19:13       ` Paul_Koning
2016-07-21 19:17       ` Paul Smith
2016-07-21 19:20         ` Paul Smith
2016-07-21 19:26         ` Phil Muldoon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox