Back to index

python3.2  3.2.2
Public Member Functions
test.test_mutants.Child Class Reference

Another segfault bug, distilled by Michael Hudson from a c.l.py post. More...

List of all members.

Public Member Functions

def __init__
def __getattr__

Detailed Description

Another segfault bug, distilled by Michael Hudson from a c.l.py post.

Definition at line 164 of file test_mutants.py.


Constructor & Destructor Documentation

def test.test_mutants.Child.__init__ (   self,
  parent 
)

Definition at line 165 of file test_mutants.py.

00165 
00166     def __init__(self, parent):
        self.__dict__['parent'] = parent

Here is the caller graph for this function:


Member Function Documentation

def test.test_mutants.Child.__getattr__ (   self,
  attr 
)

Definition at line 167 of file test_mutants.py.

00167 
00168     def __getattr__(self, attr):
00169         self.parent.a = 1
00170         self.parent.b = 1
00171         self.parent.c = 1
00172         self.parent.d = 1
00173         self.parent.e = 1
00174         self.parent.f = 1
00175         self.parent.g = 1
00176         self.parent.h = 1
00177         self.parent.i = 1
00178         return getattr(self.parent, attr)

Here is the call graph for this function:


The documentation for this class was generated from the following file: