result of 2to3 run, no other changes, probably dysfunctional
ugly python3 porting work, semi-functional but filter subsystem is screwed