[Python-Dev] Call for prudence about PEP-572
Chris Angelico
rosuav at gmail.com
Sat Jul 7 09:13:47 EDT 2018
More information about the Python-Dev mailing list
Sat Jul 7 09:13:47 EDT 2018
- Previous message (by thread): [Python-Dev] Call for prudence about PEP-572
- Next message (by thread): [Python-Dev] Call for prudence about PEP-572
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, Jul 7, 2018 at 11:09 PM, Giampaolo Rodola' <g.rodola at gmail.com> wrote: > To me this looks like the perfect example of where this functionality can be > abused. Also, I'm not clear what PEP-572 intend to do about "all other > places". E.g. should these cases be allowed? (IMO no) > > >>> yield x := 3 > >>> assert y := 3 Special cases aren't special enough to break the rules. Can we stop trying to nerf this into complexity, please? ChrisA
- Previous message (by thread): [Python-Dev] Call for prudence about PEP-572
- Next message (by thread): [Python-Dev] Call for prudence about PEP-572
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list