[New-bugs-announce] [issue40460] [easy] undefined name in Lib/idlelib/zzdummy.py

STINNER Victor report at bugs.python.org
Thu Apr 30 19:48:17 EDT 2020


New submission from STINNER Victor <vstinner at python.org>:

pyflakes found the following issue:

Lib/idlelib/zzdummy.py:31:33 undefined name 'ztest'

Code:

ztext = idleConf.GetOption('extensions', 'ZzDummy', 'z-text')
(...)
        for line in range(1, text.index('end')):
            text.insert('%d.0', ztest)

Maybe it's a typo: ztext instead of ztest? I'm not sure.

----------
assignee: terry.reedy
components: IDLE
keywords: newcomer friendly
messages: 367810
nosy: terry.reedy, vstinner
priority: normal
severity: normal
status: open
title: [easy] undefined name in Lib/idlelib/zzdummy.py
versions: Python 3.9

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


More information about the New-bugs-announce mailing list