Message295334
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. |
|
Date |
User |
Action |
Args |
2017-06-07 12:03:24 | ncoghlan | set | recipients:
+ ncoghlan, barry, njs, yselivanov, levkivskyi, JelleZijlstra |
2017-06-07 12:03:24 | ncoghlan | set | messageid: <1496837004.71.0.395342638141.issue30359@psf.upfronthosting.co.za> |
2017-06-07 12:03:24 | ncoghlan | link | issue30359 messages |
2017-06-07 12:03:24 | ncoghlan | create | |
|