Sections
Timeline
Browse Source
New Ticket
Sub-Sections
Download
Comma-delimited Text
Tab-delimited Text
RSS Feed
Metanav
Preferences
About Trac
Links
Slowchop Studios
Gerald Kaszuba
Advertisement

Ticket #14 (new defect)

Opened 14 months ago

Last modified 8 weeks ago

Incorrect class names used when calling base class methods

Reported by: mage2k@… Owned by: gak
Priority: major Component: general
Version: Keywords:
Cc:

Description (last modified by gak) (diff)

When calling methods on objects that were defined in a superclass, the child class is used for the node's class_name rather than the class where the method was defined.

Example:

class A(object):
    def __init__(self):
        pass

class B(A):
    def __init__(self):
        A(self)

Will result in two nodes, both with class B rather than one of each. I've attached a patch to fix this

Attachments

class_name.diff (0.7 kB) - added by mage2k@… 14 months ago.
class_name.diff

Change History

Changed 14 months ago by mage2k@…

class_name.diff

Changed 14 months ago by mage2k@…

Note that that diff was the result of this patch against a version of pycallgraph.py that had already been patched with my call sequencing edge labeling patch.

Changed 8 weeks ago by gak

  • description modified (diff)

There's nothing in the patch!

Add/Change #14 (Incorrect class names used when calling base class methods)

Author



Change Properties
<Author field>
Action
as new
 
Note: See TracTickets for help on using tickets.