Minimal Pythonic Interface Definitions
This release adds support for creating interface subclasses. A subclass of an interface is a new interface that inherits all the requirements imposed by its parent. For more info, see the documentation.
This release is functionally identical to 1.5.2. 1.5.2 was accidentally uploaded to PyPI without a package description.
Fixes a bug when using the @default
and @property
decorators together in Python 3.
interface.compat.izip_longest
with itertools
implementation.Interface.from_class
. (https://github.com/ssanderson/interface/pull/14)interface.default
, which allows users to define default implementations of interface methods.functools.wraps
in python 2 that sets __wrapped__
on wrapping functions.Version 1.3.0 was released with a bug in the implementation of default
. Users are encouraged to use 1.4.0 instead.
Adds support for requiring property
s as part of an interface definition.