Skip to content

Releases: beartype/plum

v2.3.0

20 Jan 19:51
68f5110
Compare
Choose a tag to compare

This update brings very pretty method printing! Yay. A massive thanks to @PhilipVinc, who contributed quite many PRs to implement this.

Consider

from numbers import Number

from plum import dispatch


@dispatch
def add(x: int, y: Number):
    return x + y


@dispatch
def add(x: Number, y: int):
    return x + y

Now methods print nicely:

image

In case of a mismatch, the exception shows which methods you could've meant:

image

And in the case of an ambiguity, the exception nicely shows which methods cannot be disambiguated:

image

v2.2.2

23 Sep 08:11
Compare
Choose a tag to compare
  • Update Beartype to 0.16.2.
  • Fix #105 (thanks @PhilipVinc!).
  • Add PLUM_SIMPLE_DOC environment variable.

v2.2.1

01 Sep 09:22
297a098
Compare
Choose a tag to compare
  • Temporarily remove deprecation warning for Val. (Thanks, @PhilipVinc!)

v2.2.0

19 Aug 17:29
a0f59d6
Compare
Choose a tag to compare

v2.1.1

26 Jun 15:23
Compare
Choose a tag to compare
  • Again fix #41.

v2.1.0

27 May 10:02
Compare
Choose a tag to compare
  • Fixes #83.
  • Generate docstrings play nice with sphinx (#75).

v2.0.1

21 Mar 07:17
a107635
Compare
Choose a tag to compare
  • Export __version__.

v2.0.0

06 Mar 17:51
396b23f
Compare
Choose a tag to compare

At last, Plum 2!

See #73 and #68.

v1.7.4

21 Oct 06:28
27308f7
Compare
Choose a tag to compare
  • Also exclude subdirectories of tests.

v1.7.3

21 Oct 06:25
1521748
Compare
Choose a tag to compare
  • Remove directory tests from release.