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 Saimadhav.Heblikar
Recipients JayKrish, Saimadhav.Heblikar, Todd.Rovito, jesstess, roger.serwy, serhiy.storchaka, terry.reedy
Date 2014-06-19.13:16:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Attached is a patch which adds linenumbering to IDLE. [1] is the current discussion regarding this topic at idle-dev.

This patch is a initial patch. It is missing menu and config additions. I have posted it in this state, so that we can catch platform specific bugs and performance related issues(if any). In the patch, all major additions are in a new file This is keeping easier debugging in mind. The code will be restructured in the next version of the patch, which will have the above said additions and performance optimization(if any).

I will be working on menu additions, config dialog additions and performance optimization in the mean time.

For those who are interested, I used, 'dlineinfo', '%d.0' % linenum) instead of text.dlineinfo('%d.0' % linenum), because using any text.* method, used to cause a continuous increase in memory usage. I found this out the hard way, when, earlier I was making repeated text.index() calls.

[1] -
Date User Action Args
2014-06-19 13:16:55Saimadhav.Heblikarsetrecipients: + Saimadhav.Heblikar, terry.reedy, roger.serwy, jesstess, Todd.Rovito, serhiy.storchaka, JayKrish
2014-06-19 13:16:55Saimadhav.Heblikarsetmessageid: <>
2014-06-19 13:16:55Saimadhav.Heblikarlinkissue17535 messages
2014-06-19 13:16:55Saimadhav.Heblikarcreate