[Python-Dev] Re: Interaction of PEP 563's Annotations with Symbol Table

2021-04-23 Thread Guido van Rossum
+1 to what Jelle said -- I don't see anyone seriously using this except in code golf or obfuscated code contests. On Fri, Apr 23, 2021 at 11:51 AM Jelle Zijlstra wrote: > For what it's worth, Larry's PEP 649 branch currently prohibits yield, > yield from, await, and the walrus operator in annota

[Python-Dev] Re: Interaction of PEP 563's Annotations with Symbol Table

2021-04-23 Thread Jelle Zijlstra
For what it's worth, Larry's PEP 649 branch currently prohibits yield, yield from, await, and the walrus operator in annotations. That seems like the right choice unless there's some realistic use case for any of these. El vie, 23 abr 2021 a las 11:27, Batuhan Taskaya () escribió: > About 4 month