Use generic functions for the conversion system

Issue #197 resolved
Laurent Gautier created an issue

Suggestion from @takluyver

A single dispatch mechanism is available in the standard library with Python 3.4[1], and there is a package for older versions of Python[2]. Consider using it for the conversion.

[1] https://docs.python.org/3/library/functools.html#functools.singledispatch [2] https://pypi.python.org/pypi/simplegeneric

Comments (2)

  1. Log in to comment