tomerfiliba/rpyc — Issue #57: Minor incompatibility in inspect_methods
Author: pyscripter
Created: 2012-01-07 15:57:28+00:00
State: open

In netref.py the last statement of inspect_methods is

return methods.items()

In python 2k this will return a list and in python 3k an iterator. This make cause problems in user code. I suggest this statement to be replaced with:

return list(methods.items())

which will return a list in both cases (at a minor loss in efficiency).