Closed MatthieuDartiailh closed 8 years ago
How can I ensure backwards compatibility for
dict.items()
In Python 3 it is equivalent to Python 2's dict.iteritems()
Right now the codebase is written using dict.iteritems(), and changing to dict.items() would break retrocompatibility. How can I avoid this?
Use dict.items() it is a bit slower but is otherwise fine.
Closed by #4
Doing this requires :
Only abstract tasks should be provided without concrete interfaces.