On Sun, May 5, 2019 at 6:40 AM Ryan Gonzalez <rym...@gmail.com> wrote:
>
> Worth maybe noting that this could play interestingly with PEP 484?

You're right. It already plays along with type hints in different
ways. At the moment it requires an exact match of implementation
method signatures with the interface including type annotations.

There are some examples in test modules
https://github.com/lig/python-interfaces/blob/master/tests/interfaces_test.py
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to