Simple OOP segfault CtD using OSX 10.9.2
User@here:~/$ python3
Python 3.3.2 (v3.3.2:d047928ae3f6, May 13 2013, 13:52:24)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> class Word(object):
... def __init__(self, name, phon, semantics=None, askglobal=None, ask=None, giveglobal=None, give=None):
self.name = name
self.phon = phon
self.semantics = semantics
self.askglobal = askglobal
self.ask = ask
self.giveglobal = giveglobal
self.give = give
class V(Word):
def __init__(self)
super().__init__(self,name,phon,semantics=None, askglobal=None, ask=None, giveglobal=None, give=None):
self.askglobal = [nom,acc]
Segmentation fault: 11
In fact this minimal example is sufficient to cause a CtD (OSX 10.9.2):
$ python3
Python 3.3.2 (v3.3.2:d047928ae3f6, May 13 2013, 13:52:24)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> class Word(object):
... def __init__(self):
Segmentation fault: 11