[Python-ideas] Move optional data out of pyc files

Eric V. Smith eric at trueblade.com
Tue Apr 10 15:50:33 EDT 2018


>> 3. Annotations. They are used mainly by third party tools that 
>> statically analyze sources. They are rarely used at runtime.
> 
> Even less used than docstrings probably.

typing.NamedTuple and dataclasses use annotations at runtime. 

Eric


More information about the Python-ideas mailing list