python: derive all classes from 'object'
commitb5ece95c18e36e5bb6c4e2549db4c40e71a954e0
authorTobias Grosser <tobias@grosser.es>
Mon, 21 Nov 2016 13:40:50 +0000 (21 14:40 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 2 Dec 2016 10:25:14 +0000 (2 11:25 +0100)
treee8c9796570781cf32f5f068e9a677d8df58bd294
parent4f79e34c6d99f06f007ea8f817f43f147f05647c
python: derive all classes from 'object'

This increases consistency with Python 3. Specifically, for classes
derived from object, Python 2 uses the same method resolution algorithm
that is used by Python 3. As the Python 3 algorithm is more strict,
ensuring the use of this algorithm already in Python 2 will make sure
Python 3 support is not regressed by accident by creating a class
hierarchy that does not provide monotonicity.

Signed-off-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
interface/python.cc