[New-bugs-announce] [issue27224] IDLE: editor versus grep line number differ

Terry J. Reedy report at bugs.python.org
Sat Jun 4 22:32:32 EDT 2016


New submission from Terry J. Reedy:

In IDLE 3.6, open idlelib.macosx (^M easiest).  Open Find in Files dialog (Alt-F3), enter 'isAquaTk' (without quotes), and go.  Output for me currently looks like
...\idlelib\macosx.py: 9:     warnings.warn("runningAsOSXApp() is deprecated, use isAquaTk()",
...\idlelib\macosx.py: 11:     return isAquaTk()
...\idlelib\macosx.py: 23:     isAquaTk(), isCarbonTk(), isCocoaTk()...
...\idlelib\macosx.py: 39: def isAquaTk():
...\idlelib\macosx.py: 226:     isAquaTk(), isCarbonTk(), isCocoaTk()...
...\idlelib\macosx.py: 230:     if isAquaTk():

The first 4 line numbers are correct.  The last two should be 232 and 236 to match the editor.  Or the editor numbers should be 226 and 230 to match grep.  I have not yet tried to cound to see which is correct, or look to see if there are long or continued lines that might throw one count off.  I should copy the file and delete lines between 39 and 226.

----------
messages: 267365
nosy: terry.reedy
priority: normal
severity: normal
stage: test needed
status: open
title: IDLE: editor versus grep line number differ
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27224>
_______________________________________


More information about the New-bugs-announce mailing list