News for hackers. Stuff that matters.
Re:New Ways to Be Told That Your Python Code Is Bad by detaro on Thursday September 02, 2021 @09:23PM (#28399462)
Neither of your examples qualify for the lint rule that's about cases that assign to the same variable, so I'm not sure why you accuse the author of "cherry-picking"?
Re:New Ways to Be Told That Your Python Code Is Bad by l0b0 on Thursday September 02, 2021 @10:44PM (#28399882)
I didn't realize this was only for assignments, but the same applies if you prepend `x =` before the relevant lines.