[issue10899] No function type annotations in the standard library
Guido van Rossum
report at bugs.python.org
Wed Jan 12 23:52:12 CET 2011
Guido van Rossum <guido at python.org> added the comment:
On Wed, Jan 12, 2011 at 2:49 PM, Antoine Pitrou <report at bugs.python.org> wrote:
> 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?
No, that is less strong than what I said. I agree with Raymond that
they should be kept out of the stdlib until we've come up with a
convention.
>> 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?
Sorry, yes.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10899>
_______________________________________
More information about the Python-bugs-list
mailing list