[issue10899] No function type annotations in the standard library
Antoine Pitrou
report at bugs.python.org
Wed Jan 12 23:49:52 CET 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
> On the other hand, having this precedent might give passers-by and
> perhaps future stdlib developers the idea that a convention has been
> adopted by the stdlib
Could we simply state in PEP 8 that annotations have no official meaning and that anyone (including stdlib developers) can use it for whatever purpose they see fit?
> FWIW, I've long wished that the stdlib (and perhaps even PEP 8) would
> adopt a *comment-based* convention for indicating the types of arguments.
You mean docstring-based?
----------
assignee: rhettinger ->
components: +IO, Library (Lib)
nosy: +pitrou
versions: +Python 3.3 -Python 3.1
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10899>
_______________________________________
More information about the Python-bugs-list
mailing list