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 <[email protected]>
<http://bugs.python.org/issue27224>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com