[issue22083] Refactor PyShell's breakpoint related methods

2017-09-28 Thread Tal Einat
Change by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list

[issue22083] Refactor PyShell's breakpoint related methods

2014-08-11 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: This patch does two things 1. Refactor pyshell-breakpoint-refactor.diff to reflect changes in pyshell-breakpoint-refactor.diff As in pyshell-breakpoint-refactor.diff, the set/clear(_here) breakpoint methods are refactored into logical methods. 2. If the

[issue22083] Refactor PyShell's breakpoint related methods

2014-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: The _here methods are the event handlers for the right click context menu options. Set_breakpoint, as a separate method, is only needed in the restore_file_breaks (from breakpoint file) method. I gather that you are thinking of using set/clear_breakpoint when

[issue22083] Refactor PyShell's breakpoint related methods

2014-07-26 Thread Saimadhav Heblikar
New submission from Saimadhav Heblikar: This refactoring is required to enable setting/clearing breakpoints, using linenumbering( whether using a Canvas implementation or a Text implementation http://bugs.python.org/issue17535) The patch ensures consistency between the set_breakpoint(_here)