[Python-Dev] Reserve ':=' for type-inferred variable initialization (was PEP 572)

Eric V. Smith eric at trueblade.com
Fri Apr 27 08:58:06 EDT 2018


On 4/27/2018 8:28 AM, Steven D'Aprano wrote:
> On Fri, Apr 27, 2018 at 08:13:20AM +0200, Andrea Griffini wrote:
>> Now we got standard library features requiring type annotation
> 
> We do? Did I miss them? Which std lib features are you referring to?
> 
> (That's not a rhetorical question -- maybe I have missed something.)

Presumably dataclasses and typing.NamedTuple.

Eric


More information about the Python-Dev mailing list