rpy2.robjects.methods still has an use of
itertools.izip which should just be replaced by
zip. A quick grep also shows uses in
Also, the docs section
Automated R-in-Python class definitions could also mention the Python3 metaclass syntax (
class Foo(RS4, metaclass=RS4Auto_Type)). It may be easier to provide a base class to hide the metaclass issue from the end user:
if PY2: class RS4Auto: __metaclass__ = RS4Auto_Type else: class RS4Auto(metaclass=RS4Auto_Type): pass
(untested). Then inheriting from RS4Auto should be enough.