This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Todd.Rovito
Recipients Rich.Rauenzahn, Todd.Rovito, dzabel, loewis, roger.serwy, terry.reedy
Date 2013-03-30.17:31:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364664687.22.0.822208702506.issue14146@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a backtrace from PDB:

-> self.sync_source_line()
  /Volumes/SecurePython3/cpython/py34/Lib/idlelib/Debugger.py(211)sync_source_line()
-> self.flist.gotofileline(filename, lineno)
  /Volumes/SecurePython3/cpython/py34/Lib/idlelib/FileList.py(46)gotofileline()
-> edit.gotoline(lineno)
> /Volumes/SecurePython3/cpython/py34/Lib/idlelib/EditorWindow.py(694)gotoline()
-> self.center()

The offending code seems to be in EditorWindow.py:gotoline()

    def gotoline(self, lineno):
        if lineno is not None and lineno > 0:
            self.text.mark_set("insert", "%d.0" % lineno)
            self.text.tag_remove("sel", "1.0", "end")
            self.text.tag_add("sel", "insert", "insert +1l")
            self.center()

Next I am going to write a small program to try and reproduce the bug so I can file with the TCL/TK folks.
History
Date User Action Args
2013-03-30 17:31:27Todd.Rovitosetrecipients: + Todd.Rovito, loewis, terry.reedy, roger.serwy, Rich.Rauenzahn, dzabel
2013-03-30 17:31:27Todd.Rovitosetmessageid: <1364664687.22.0.822208702506.issue14146@psf.upfronthosting.co.za>
2013-03-30 17:31:27Todd.Rovitolinkissue14146 messages
2013-03-30 17:31:26Todd.Rovitocreate