Antoine Pitrou <pit...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue10899>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to