#20 python with expanded inheritance gathering

open-accepted
None
5
2006-09-21
2003-10-07
Dave Schuyler
No

Hi,

Here is an edited copy of the python.c parser that will
handle things like the following:

class Orange():
pass

class Banana(Orange):
pass

class Apple \ (Orange):
pass

class Foo(Apple, Orange,
Banana):
pass

In the prior (ctags 5.5.2) python.c the inheritance for
Apple would show as empty and the inheritance for Foo
would not list Banana.

Discussion

  • Dave Schuyler
    Dave Schuyler
    2003-10-07

    python.c with expanded inheritance gathering

     
    Attachments
  • Logged In: YES
    user_id=32894

    Thanks, applied a patch for revision 452 based on yours,
    with slightly enhanced functionality to also handle the
    class\ name case.

     
    • assigned_to: nobody --> elias
    • status: open --> open-accepted