On 21 April 2015 at 08:10, Eric Snow <ericsnowcurren...@gmail.com> wrote: > > > > While it helps, this sort of best-practice is still unsettled (and apparently > not obvious). In the short term it would make more sense to recommend using > stub files for all the reason Harry enumerated. Once the best practices are > nailed down through experience with stub files, then we can make > recommendations regarding inline type hints. > > -eric
Forgive my ignorance, but can stub files can't annotate variables within functions? E.g. AIUI if there is a stub file, it is used in the static analysis instead of the actual source. Likely I've got it modelled wrong in my head :) -Rob -- Robert Collins <rbtcoll...@hp.com> Distinguished Technologist HP Converged Cloud _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com