[New-bugs-announce] [issue32155] Fix flake8 warning F841: local variable ... is assigned to but never used

STINNER Victor report at bugs.python.org
Tue Nov 28 09:03:17 EST 2017


New submission from STINNER Victor <victor.stinner at gmail.com>:

Using flake8, I found some bugs in the standard libraries and tools.

I already fixed another flake8 error:
---
commit 28e61650b23119b68cd7943ccc01b8b9af1b4103
Author: Victor Stinner <victor.stinner at gmail.com>
Date:   Tue Nov 28 00:34:08 2017 +0100

    bpo-31245: asyncio: Fix typo, isistance => isinstance (#4594)
---

Attached patch fix 3 bugs found by the flake8 F841 warning.

Note: Python 2.7 is not impacted by the turtledemo bug, but it's impacted by the two other bugs.

----------
components: Library (Lib)
messages: 307120
nosy: vstinner
priority: normal
severity: normal
status: open
title: Fix flake8 warning F841: local variable ... is assigned to but never used
versions: Python 2.7, Python 3.6, Python 3.7

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


More information about the New-bugs-announce mailing list