rm dead code if hasattr(ROOT, 'AsCapsule') and assume python2 for now