Nick Coghlan added the comment:

As far as whether or not this usage fits within the guidelines at 
https://www.python.org/dev/peps/pep-0008/#function-annotations, it would 
definitely be worth bringing up in a python-dev thread before going ahead with 
it.

I think it's a good dynamic use of annotations that fits within the spirit of 
PEP 484 without requiring sphinxcontrib-trio to rely on a static typechecker 
like mypy, but others may have a different perspective.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30359>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to