[issue45975] Simplify some while-loops with walrus operator

Raymond Hettinger report at bugs.python.org
Sat Dec 4 10:58:33 EST 2021


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

> As I mentioned in the PR, merging this can make future
> backports to 3.6 and 3.7 more complicated.

That's correct, but it is also true that we do very few of those and the likelihood of a conflict with one of these edits is low.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45975>
_______________________________________


More information about the Python-bugs-list mailing list