You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[easy] undefined name in Lib/idlelib/zzdummy.py #84640
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/terryjreedy'closed_at=<Date2020-05-14.22:53:31.346>created_at=<Date2020-04-30.23:48:17.516>labels= ['easy', 'expert-IDLE', '3.9']
title='[easy] undefined name in Lib/idlelib/zzdummy.py'updated_at=<Date2020-05-14.22:53:31.345>user='https://github.com/vstinner'
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.
Activity
vstinner commentedon Apr 30, 2020
pyflakes found the following issue:
Lib/idlelib/zzdummy.py:31:33 undefined name 'ztest'
Code:
Maybe it's a typo: ztext instead of ztest? I'm not sure.
terryjreedy commentedon May 1, 2020
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.
vstinner commentedon May 14, 2020
New changeset edf2643 by Victor Stinner in branch 'master':
bpo-40460: Fix typo in idlelib/zzdummy.py (GH-20093)
edf2643
vstinner commentedon May 14, 2020
Ok, thanks for the confirmation :-) It's now fixed.