# Cygwin 2.7.14: old-style: runs # Cygwin 2.7.14: new-style: splat # Cygwin 3.6.4: runs # Win7 2.7.14: old-style: runs # Win7 2.7.14: new-style: splat # Win7 3.6.5: runs # ArchLinux 2.7.15 old-style: runs # ArchLinux 2.7.15 new-style: splat # ArchLinux 3.6.6 runs #class A: class A(object): """Hangs/core dumps Python2 when instantiated, if class is descended from object.""" def __init__(self): self.splat() def splat(self): if hasattr(self, 'splat'): pass def __getattr__(self, attr): return attr in dir(self) A()