[Michael Hudson] > ... > I'd also like to know why all the (for instance) methods in > tupleobject.c start with "if (!PyTuple_Check(self)". You'd have to > try REALLY hard to get those tests to fail... Not at all: extension modules can pass any sort of nonsense to public API functions. Python shouldn't crash as a result. The checking is expensive, though.