Mark Jones wrote: > Would it be possible to put these isinstance calls in comments as well? So we don't take any kind of performance penalty during production? They're inside asserts, so if you run Python in optimised mode they won't even be there. TJG