On Sat, Apr 21, 2018 at 6:04 AM, David Mertz <mertz at gnosis.cx> wrote: > It's horrors like this: > > g(items[idx] := idx := f()) > > That make me maybe +0 if the PEP only allowed simple name targets, but > decisively -1 for any assignment target in the current PEP. But that's my point: you shouldn't need to write that. Can anyone give me a situation where that kind of construct is actually useful? Much more common would be to use := inside the square brackets, which makes the whole thing a lot more sane. You can ALWAYS write stupid code. Nobody can or will stop you. ChrisA
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4