[New-bugs-announce] [issue43013] IDLE: update code, mostly by cleanups of 2.x or 2to3 artifacts

Terry J. Reedy report at bugs.python.org
Sat Jan 23 16:20:31 EST 2021

New submission from Terry J. Reedy <tjreedy at udel.edu>:

Tal, just so you know in case you see a resulting merge conflict.  I've been waiting for years to do these until most PRs were closed.  Has not happened, and annoyances continue.

Since there is no search option I can find to search for PRs with a merge conflict, I assume that they are not discovered until a PR is accessed.  So when some of these are done, I will search with 'idle in:title', open, scroll down, and fix.

1. 9 leftover 'object's from 2.x "class C(object):" headers.

2. 6 unneeded 'list's added by 2to3 to make 'for item in list(iterable):'.

3. import 3.x-tkinter name as 2.x-tkinter; needs some care but fixes will be easy to verify.

4. builtin names like 'object', 'dict', and 'type' used as parameter names; I am open to opinion of adding '_' versus abbreviating versus alternative.  

5. ??

assignee: terry.reedy
components: IDLE
messages: 385564
nosy: taleinat, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE:  update code, mostly by cleanups of 2.x or 2to3 artifacts
type: enhancement
versions: Python 3.10, Python 3.8, Python 3.9

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list