Skip to content

v1.3.0 - Python 3.8 Support, Option.raise_if_nothing()

Compare
Choose a tag to compare
@mplanchard mplanchard released this 12 Jan 15:25
· 14 commits to master since this release
v1.3.0
fdf8564

1.3.0 - 2019-01-12

Added

  • Testing in CI for Python 3.8
  • Option.raise_if_nothing(self, msg: str, exc_cls: t.Type[Exception] = RuntimeError) -> T
    added as a semantically friendly alias for Option.expect.

Deprecated

  • Option.raise_if_err is deprecated in favor of Option.raise_if_nothing.
    Will be removed in 2.0.0