2 Jul
2018
2 Jul
'18
8:36 a.m.
On Wed, Jun 27, 2018 at 03:31:42PM -0700, Guido van Rossum wrote:
I'd also like to keep the rule prohibiting use of the same name as a comprehension loop control variable and as an inline assignment target; this rule would also prohibit shenanigans with nested comprehensions (for any set of nested comprehensions, any name that's a loop control variable in any of them cannot be an inline assignment target in any of them). This would also apply to the "outermost iterable".
+1 -- Steve