[issue40460] [easy] undefined name in Lib/idlelib/zzdummy.py

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: > Yes, simple typo. Ok, thanks for the confirmation :-) It's now fixed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue40460] [easy] undefined name in Lib/idlelib/zzdummy.py

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset edf2643bbb9859403239fe1cb3c212b1a2a8e65c by Victor Stinner in branch 'master': bpo-40460: Fix typo in idlelib/zzdummy.py (GH-20093) https://github.com/python/cpython/commit/edf2643bbb9859403239fe1cb3c212b1a2a8e65c --

[issue40460] [easy] undefined name in Lib/idlelib/zzdummy.py

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +19399 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20093 ___ Python tracker ___

[issue40460] [easy] undefined name in Lib/idlelib/zzdummy.py

2020-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, simple typo. I need to look at test_Zzdummy.py to see if it should have been failing with the typo. If this is executed, the end index must be 1 so that the loop never executes. -- ___ Python tracker

[issue40460] [easy] undefined name in Lib/idlelib/zzdummy.py

2020-04-30 Thread STINNER Victor
New submission from STINNER Victor : 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)