Skip to content

Releases: seequent/methoddispatch

v5.0.0

21 Nov 03:26
Compare
Choose a tag to compare

Handle multiple inheritance properly.
Support simple type annotations e.g. list[int] (but only use list)

Ooops - missed v4.

v3.0

06 May 05:51
59169f0
Compare
Choose a tag to compare

Drops support for plain functions.
Deprecates module register function in favour of BaseClass.method.register()
Supports per-instance dispatch registries.

Version 2.0

03 Jul 03:33
f3bc7ab
Compare
Choose a tag to compare
  • Added support for annotations as per python 3.7 functools.singledispatch to Python 3.6+
  • Use __init_subclass__ instead of a meta class for Python 3.6+
  • Allow using actual method instead of method name in register() function
  • Fixed missing dispatch and registry attributes on method objects.