[issue20827] IDLE : Display function argument list in ClassBrowser

2014-03-16 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: I have added a improved patch. What this patch does: 1. resolves issue 1 of msg213193 - uses inspect. signature() instead of inspect.getargspec. 2. resolves issue 2 of msg213193 - the module is imported only once per ClassBrowser instance. 3. resolves

[issue20827] IDLE : Display function argument list in ClassBrowser

2014-03-18 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Removed file: http://bugs.python.org/file34439/classbrowser-improvements-v2.patch ___ Python tracker <http://bugs.python.org/issue20

[issue20827] IDLE : Display function argument list in ClassBrowser

2014-03-18 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: The old file had a typo and i have removed it. The new file does everything stated in msg213722 and also has the errors removed. I have added tests for the little change in code to pyclbr.its called test_string_source. All the tests related to pyclbr pass

[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2014-03-19 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : -- nosy: +sahutd ___ Python tracker <http://bugs.python.org/issue1350> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5680] Command-line arguments when running in IDLE

2014-03-22 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Submitting a patch for 3.4. 1. Allows the user to set command line arguments via a dialog box 2. Parsing - Maps the string which user entered into a list i.e. the same results are produced as when run via terminal/command prompt. The parsing methods

[issue21108] Add doc examples for importlib

2014-03-30 Thread Saimadhav Heblikar
New submission from Saimadhav Heblikar: The imp module was the defacto module to access the import internals,upto 3.3 It has been deprecated(pending) in 3.4 in favor of importlib. There are plenty of examples on how to use imp around the web, but very little (even in doc.python.org), on how to

[issue21108] Add examples for importlib in doc

2014-03-30 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : -- title: Add doc examples for importlib -> Add examples for importlib in doc ___ Python tracker <http://bugs.python.org/issu

[issue21140] Idle: saving an OutputWindow should default to .txt

2014-04-03 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : -- nosy: +sahutd ___ Python tracker <http://bugs.python.org/issue21140> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21140] Idle: saving an OutputWindow should default to .txt

2014-04-03 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Attaching a patch. The file type on OutputWIndow defaults to .txt. Can be very easily made to default to none aswell. Tested on linux for 2.7 and 3.4.(Debian Wheezy, Gnome 3) On 2.7, made changes so that ispythonsource(in EditorWindow) behaves similar to

[issue21140] Idle: saving an OutputWindow should default to .txt

2014-04-03 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file34714/issue21140-34.patch ___ Python tracker <http://bugs.python.org/issue21140> ___ ___ Python-bug

[issue21139] Idle: change default reformat width from 70 to 72

2014-04-06 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : -- nosy: +sahutd ___ Python tracker <http://bugs.python.org/issue21139> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21139] Idle: change default reformat width from 70 to 72

2014-04-08 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file34764/issue21139-34.patch ___ Python tracker <http://bugs.python.org/issue21139> ___ ___ Python-bug

[issue21139] Idle: change default reformat width from 70 to 72

2014-04-08 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Attaching a patch for 2.7 and 3.4 The comment strings are modified to reflect 70->72 in the tests. -- keywords: +patch Added file: http://bugs.python.org/file34763/issue21139-27.patch ___ Python tracker &l

[issue21185] heapq fails to print in sorted order for certain inputs

2014-04-09 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Hi, I dont think its a bug. The textbook definition of a min(or max) heap is "Heaps are binary trees for which every parent node has a value less than or equal to any of its children." Therefore, when lista = [1,6,5,4], and heapify is run on it

[issue21380] timezone support in strftime methods broken

2014-04-28 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : -- nosy: +sahutd ___ Python tracker <http://bugs.python.org/issue21380> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21519] IDLE : Bug in keybinding validity check

2014-05-17 Thread Saimadhav Heblikar
New submission from Saimadhav Heblikar: Steps to reproduce the bug: 1. IDLE > options > configure idle > keys 2. Try to replace a keybinding for an action with that of another action which has more than one keybinding. For eg : Default binding of copy= . So, try to replace any other k

[issue21477] Idle: improve idle_test.htest

2014-05-20 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Adds spec dicts for aboutDialog, ClassBrowser, PathBrowser, textView and configHelpSourceEdit and modifies the related modules appropriately. The spec dicts(and the tests relating to) for editorwindow and help dialog have not been modified in this patch

[issue21477] Idle: improve idle_test.htest

2014-05-20 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Removed file: http://bugs.python.org/file35301/about+classbrowser+cfghelpsrcedit+pathbrowser+textview.diff ___ Python tracker <http://bugs.python.org/issue21

[issue21477] Idle: improve idle_test.htest

2014-05-20 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35302/about+classbrowser+cfghelpsrcedit+pathbrowser+textview.diff ___ Python tracker <http://bugs.python.org/issue21

[issue21477] Idle: improve idle_test.htest

2014-05-23 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Posting a cumulative patch of all htest written so far. They include IOBinding, Tooltips, MultiStatusbar, tabbedpages, objectbrowser, scrolledlist, dynOptionWidget, treewidget, widgetredirector, colordelegator, calltip and multicall, besides aboutDialog

[issue21477] Idle: improve idle_test.htest

2014-05-23 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35335/run-runall.diff ___ Python tracker <http://bugs.python.org/issue21477> ___ ___ Python-bug

[issue21477] Idle: improve idle_test.htest

2014-05-23 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Removed file: http://bugs.python.org/file35302/about+classbrowser+cfghelpsrcedit+pathbrowser+textview.diff ___ Python tracker <http://bugs.python.org/issue21

[issue21477] Idle: improve idle_test.htest

2014-05-25 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Modifications in htest-25052014.diff 1. ClassBrowser, PathBrowser, EditorWindow no longer close parent when closed 2. Sample code in _color_delegator changed to string, instead of reading from file. 3. String text change for Tooltip. 4. Adds htest for

[issue21477] Idle: improve idle_test.htest

2014-05-25 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35364/htest-25052014-27.diff ___ Python tracker <http://bugs.python.org/issue21477> ___ ___ Pytho

[issue21477] Idle: improve idle_test.htest

2014-05-26 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Summary for htest-26052014-34.diff and htest-26052014-27.diff 1. Adds htest for ReplaceDialog and SearchDialog 2. Removes the two canvases in TreeWidget as per code review comment. Now there is only a single ScrollableCanvas 3. Some text changes in spec

[issue21477] Idle: improve idle_test.htest

2014-05-26 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35369/htest-26052014-27.diff ___ Python tracker <http://bugs.python.org/issue21477> ___ ___ Pytho

[issue21477] Idle: improve idle_test.htest

2014-05-28 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Summary for htest-28052014-34.diff and htest-28052014-27.diff 1. Add htest for GrepDialog,UndoDelegator and configDialog 2. Makes changes to the way the help string is displayed. The label has been replaced by a text widget made to look like a label, and

[issue21477] Idle: improve idle_test.htest

2014-05-28 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35387/htest-28052014-27.diff ___ Python tracker <http://bugs.python.org/issue21477> ___ ___ Pytho

[issue21477] Idle: improve idle_test.htest

2014-05-30 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35411/htest-docstring-34.diff ___ Python tracker <http://bugs.python.org/issue21477> ___ ___ Pytho

[issue21477] Idle: improve idle_test.htest

2014-05-30 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35412/htest-docstring-27.diff ___ Python tracker <http://bugs.python.org/issue21477> ___ ___ Pytho

[issue18504] IDLE:Improvements- Improving Mock_Text

2014-06-01 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: This patch tries to enable mock_Tk.Text._decode to handle the following patterns insert linestart insert lineend insert wordstart insert wordend insert +x chars insert -x chars These additions are required for testing AutoExpand and are written keeping the

[issue18292] IDLE Improvements: Unit test for AutoExpand.py

2014-06-01 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Attached patch adds unittest for idlelib`s AutoExpand. Depends on issue18504 for Text's mocking abilities. -- keywords: +patch nosy: +jesstess, sahutd Added file: http://bugs.python.org/file35436/test-autoexpand

[issue20640] Idle: test configHelpSourceEdit

2014-06-02 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Removed file: http://bugs.python.org/file34125/test-config-helpsource-33.patch ___ Python tracker <http://bugs.python.org/issue20

[issue20640] Idle: test configHelpSourceEdit

2014-06-02 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Removed file: http://bugs.python.org/file34128/test-config-helpsource-27.patch ___ Python tracker <http://bugs.python.org/issue20

[issue20640] Idle: test configHelpSourceEdit

2014-06-02 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35446/test-cfg-help-34.diff ___ Python tracker <http://bugs.python.org/issue20640> ___ ___ Pytho

[issue20640] Idle: test configHelpSourceEdit

2014-06-02 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35447/test-cfg-help-27.diff ___ Python tracker <http://bugs.python.org/issue20640> ___ ___ Pytho

[issue18292] Idle: test AutoExpand.py

2014-06-02 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35458/test-autoexpand1.diff ___ Python tracker <http://bugs.python.org/issue18292> ___ ___ Pytho

[issue20800] Cannot run gui tests twice.

2014-06-02 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: >From Ned Deily's message. >>haven't tried it recently on a Linux system Output from a linux syste: ./python -m test -ugui test_ttk_guionly test_ttk_guionly test_idle test_idle [1/4] test_ttk_guionly [2/4] test_ttk_guionly [3/4] test_i

[issue18292] Idle: test AutoExpand.py

2014-06-03 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Attached a patch incorporating changes from msg219661 and test-autoexp-18292.diff >>"I would like to cover those because " Done >>Point 2 Done >>"self.bell() makes no sound for me. How about you?" No sound for m

[issue18292] Idle: test AutoExpand.py

2014-06-03 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35477/test-autoexpand3.diff ___ Python tracker <http://bugs.python.org/issue18292> ___ ___ Pytho

[issue21588] Idle: make editor title bar user configurable

2014-06-04 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Attaching a patch to make title bar user configurable. In this patch The title bar is configurable for PyShellEditorWindow(EditorWindow), PyShell and OutputWindow. The user may add the following parameters - py_major_version (3

[issue17390] display python version on idle title bar

2014-06-04 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : -- nosy: +sahutd ___ Python tracker <http://bugs.python.org/issue17390> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21676] IDLE - Test Replace Dialog

2014-06-05 Thread Saimadhav Heblikar
New submission from Saimadhav Heblikar: Add unittest for idlelib's replace dialog. 7 lines related to replacedialog logic could not be tested. Any input on how to test those lines? Running the test suite for idlelib emits: "ttk::ThemeChanged" invalid command name "3069198

[issue21647] Idle unittests: make gui, mock switching easier.

2014-06-06 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Perhaps, we can move GUI/non GUI code into blocks. I will take Text as example. from test import support if support._is_gui_available(): from tkinter import Text else: from idlelib.idle_test.mock_tk import Text . . . if not support._is_gui_available

[issue21682] Refleak in idle_test test_autocomplete

2014-06-06 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: The patch fixes the refleak. Importing EditorWindow, was perhaps the cause. It uses a dummy editwin instead. With reference to the current test, was there a particular reason to import real EditorWindow module? -- keywords: +patch Added file

[issue21686] IDLE - Test hyperparser

2014-06-07 Thread Saimadhav Heblikar
New submission from Saimadhav Heblikar: Test for idlelib.HyperParser 5 lines not tested. Any suggestion on how to hit those lines welcome. Will submit backport 2.7 once the patch for 3.4 is OK. -- components: IDLE files: test-hyperparser.diff keywords: patch messages: 219942 nosy

[issue21694] IDLE - Test ParenMatch

2014-06-08 Thread Saimadhav Heblikar
New submission from Saimadhav Heblikar: Adding test for idlelib.ParenMatch for 3.4 Will backport to 2.7 when this patch is OK. 3 lines could not be tested in this patch. -- components: IDLE files: test-parenmatch.diff keywords: patch messages: 220034 nosy: jesstess, sahutd, terry.reedy

[issue11437] IDLE crash on startup with typo in config-keys.cfg

2014-06-09 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : -- nosy: +sahutd ___ Python tracker <http://bugs.python.org/issue11437> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21703] IDLE: Test UndoDelegator

2014-06-10 Thread Saimadhav Heblikar
New submission from Saimadhav Heblikar: Adds test for UndoDelegator class in idlelib.UndoDelegator. With the help of Victor Stinner on IRC, I managed to reduce the refleak, but the current status is: saimadhav@debian:~/dev/34-cpython$ ./python -m test -R 3:3 -uall test_idle [1/1] test_idle

[issue21703] IDLE: Test UndoDelegator

2014-06-11 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: It was WidgetRedirector which was leaking. cls.percolator.redir.close() added in tearDownClass fixes the leak. saimadhav@debian:~/dev/34-cpython$ ./python -m test -R :: -uall test_idle [1/1] test_idle beginning 9 repetitions 123456789 . 1 test OK

[issue21696] Idle: test syntax of configuration files

2014-06-11 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Attaching a patch to test the default configuration files. config-keys.def will be added once the issues related to it[1] are resolved. In this patch, test that the configHandler module can successfully extract the values. For places where numeric values

[issue12387] IDLE save keyboard shortcut problem

2014-06-12 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Attached patch is an attempt to fix the issue, based on msg220332. With this patch, and with "IDLE Classic Unix" keybinding selected in IDLE, actions like cut=, redo= , and emac's style actions like open-new-window=, can be performed by ju

[issue12387] IDLE save keyboard shortcut problem

2014-06-12 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Removed file: http://bugs.python.org/file35590/keybinding-issue12387-v1.diff ___ Python tracker <http://bugs.python.org/issue12

[issue12387] IDLE save keyboard shortcut problem

2014-06-12 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35591/keybinding-issue12387-v1.diff ___ Python tracker <http://bugs.python.org/issue12387> ___ ___

[issue12387] IDLE save keyboard shortcut problem

2014-06-12 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Removed file: http://bugs.python.org/file35591/keybinding-issue12387-v1.diff ___ Python tracker <http://bugs.python.org/issue12

[issue12387] IDLE save keyboard shortcut problem

2014-06-12 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35592/keybinding-issue12387-v1.diff ___ Python tracker <http://bugs.python.org/issue12387> ___ ___

[issue21694] IDLE - Test ParenMatch

2014-06-13 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Patch as per tracker and Rietveld comments for 2.7 Terry - I replaced the DummyFrame with a Mock, so that we can have consistent code across 2.7 and 3.4. I completed a docstring.(See Rietveld) -- Added file: http://bugs.python.org/file35623/test

[issue21694] IDLE - Test ParenMatch

2014-06-14 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35629/test-hyperparser-v1.diff ___ Python tracker <http://bugs.python.org/issue21694> ___ ___ Pytho

[issue21694] IDLE - Test ParenMatch

2014-06-14 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Removed file: http://bugs.python.org/file35629/test-hyperparser-v1.diff ___ Python tracker <http://bugs.python.org/issue21694> ___ ___

[issue21686] IDLE - Test hyperparser

2014-06-14 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35630/test-hyperparser-v1.diff ___ Python tracker <http://bugs.python.org/issue21686> ___ ___ Pytho

[issue21696] Idle: test configuration files

2014-06-14 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35641/test-configuration-v2.diff ___ Python tracker <http://bugs.python.org/issue21696> ___ ___

[issue21519] IDLE : Bug in keybinding validity check

2014-06-15 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: A small bug in line 185 in keybindingDialog.py. 'F2' appears twice and 'F3' is missing. Since this is a typo, I did not create a new issue. -- ___ Python tracker <http://bug

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2014-06-19 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: 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

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2014-06-22 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: List of additions/changes 1. EditorWindow uses LineNumber.Text instead of tkinter.Text. 2. Added linenumber canvas to IDLE windows except PyShell 3. Some info about LineNumber.Text a) Inherits tk.Text b) Generates <> virtual

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2014-06-22 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : -- nosy: +taleinat ___ Python tracker <http://bugs.python.org/issue17535> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21880] IDLE: Ability to run 3rd party code checkers

2014-06-29 Thread Saimadhav Heblikar
New submission from Saimadhav Heblikar: (This issue is continuation of http://bugs.python.org/issue18704) This issue is about a feature to execute any 3rd party code checker from within IDLE. I am attaching an initial patch(so as to get reviews, is functional logic wise, but missing a lot UI

[issue21880] IDLE: Ability to run 3rd party code checkers

2014-07-01 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35819/3rdpartychecker-v2.diff ___ Python tracker <http://bugs.python.org/issue21880> ___ ___ Pytho

[issue21880] IDLE: Ability to run 3rd party code checkers

2014-07-01 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Removed file: http://bugs.python.org/file35819/3rdpartychecker-v2.diff ___ Python tracker <http://bugs.python.org/issue21880> ___ ___ Pytho

[issue21880] IDLE: Ability to run 3rd party code checkers

2014-07-01 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35821/3rdpartychecker-v2.diff ___ Python tracker <http://bugs.python.org/issue21880> ___ ___ Pytho

[issue21880] IDLE: Ability to run 3rd party code checkers

2014-07-05 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: In v3, there is no subprocess usage. It imports the checker specific module,does its job and returns the result of processing. The checker specific files are to be installed from TestPyPI(atleast for now). It has to be installed via pip. It will be

[issue21880] IDLE: Ability to run 3rd party code checkers

2014-07-05 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: >This seem like a new feature for IDLE, so I'd imagine it would not be >>included in either 2.7 or 3.4. Correct me if I'm wrong. Hi, Yes, it is a new feature. I think it will be included in both 2.7 and 3.4(apart from the latest

[issue18592] Idle: test SearchDialogBase.py

2014-07-07 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Hi, test_make_entry seems to be failing (for eg: http://buildbot.python.org/all/builders/AMD64%20Debian%20root%203.4/builds/306/steps/test/logs/stdio and http://buildbot.python.org/all/builders/AMD64%20Debian%20root%203.x/builds/911/steps/test/logs/stdio

[issue18592] Idle: test SearchDialogBase.py

2014-07-07 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: >The interesting question is why the Debian 3.4 system is different? That is what caused me to notice the issue. I ran the IDLE test suite on my pc(debian 7) and it failed, while most buildbots were "green". >Why is it acting like 2.7?

[issue18592] Idle: test SearchDialogBase.py

2014-07-07 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Removed file: http://bugs.python.org/file35883/issue18592-fix.diff ___ Python tracker <http://bugs.python.org/issue18592> ___ ___ Pytho

[issue21937] IDLE interactive window doesn't display unsaved-indicator

2014-07-08 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : -- nosy: +sahutd ___ Python tracker <http://bugs.python.org/issue21937> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21939] IDLE - Test Percolator

2014-07-08 Thread Saimadhav Heblikar
New submission from Saimadhav Heblikar: Attached is a unittest for idlelib.Percolator. 2.7 version will be added once this is OK. -- components: IDLE files: test_percolator-34.diff keywords: patch messages: 222561 nosy: jesstess, sahutd, taleinat, terry.reedy priority: normal severity

[issue21940] IDLE - Test WidgetRedirector

2014-07-08 Thread Saimadhav Heblikar
New submission from Saimadhav Heblikar: Attached is unittest for idlelib.WidgetRedirector 2.7 version will be uploaded once this is OK. -- components: Extension Modules files: test-widgetredir-34.diff keywords: patch messages: 222563 nosy: jesstess, sahutd, taleinat, terry.reedy

[issue18592] Idle: test SearchDialogBase.py

2014-07-12 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: A bug introduced by 91491:a0e8f2d882a3. Opening Find-in-files gives the following error Exception in Tkinter callback Traceback (most recent call last): File "/home/saimadhav/dev/34-cpython/Lib/tkinter/__init__.py", line 1487, in

[issue21982] Idle: Regression introduced in configDialog by rev 91509

2014-07-14 Thread Saimadhav Heblikar
New submission from Saimadhav Heblikar: The concerned part : http://hg.python.org/cpython/rev/b836a0cd68f7#l4.15 "NameError: name 'keySet' is not defined." -- messages: 223031 nosy: sahutd, terry.reedy priority: normal severity: normal status: open title: Idle: Regr

[issue21982] Idle: Regression introduced in configDialog by rev 91509

2014-07-14 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : -- type: -> crash ___ Python tracker <http://bugs.python.org/issue21982> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue21939] IDLE - Test Percolator

2014-07-17 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35982/test_percolator-34-v2.diff ___ Python tracker <http://bugs.python.org/issue21939> ___ ___

[issue22055] Incomplete sentence in asyncio BaseEventLoop doc

2014-07-23 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : -- assignee: docs@python components: Documentation, asyncio files: asyncio-eventloop-doc-incomplete-sent.diff keywords: patch nosy: docs@python, gvanrossum, haypo, sahutd, yselivanov priority: normal severity: normal status: open title: Incomplete

[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

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2014-08-01 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Attached is Text widget based implementation to add linenumbering to IDLE. NS: The purpose of comment block in update_sidebar_text_font The reason why it is there is to allow tk to "catch up" with changes(esp on large files) after a font change

[issue22133] IDLE: Set correct WM_CLASS on X11

2014-08-04 Thread Saimadhav Heblikar
New submission from Saimadhav Heblikar: I found this bug on gnome where IDLE's activity bar entry is named "Toplevel" instead of "IDLE". After digging through the X11 and gnome docs, the WM_CLASS was wrongly being set as "Toplevel". This patch has been veri

[issue22133] IDLE: Set correct WM_CLASS on X11

2014-08-04 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file36252/after-before.png ___ Python tracker <http://bugs.python.org/issue22133> ___ ___ Python-bug

[issue22133] IDLE: Set correct WM_CLASS on X11

2014-08-05 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: >>Is "class_='IDLE'" works when only IDLE for Python 3 (not for Python 2) is >>installed? Shouldn't it be 'IDLE3'? I tried class_="IDLE"(or any other string) for python2 repo build, and it works.

[issue22133] IDLE: Set correct WM_CLASS on X11

2014-08-05 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: "Saimadhav, please try class_="Idle" (title case). I suppose that IDLE's activity bar entry will be named "IDLE" (upper case), because Gnome Shell will get the name from IDLE's desktop file (/usr/share/applications/

[issue14105] Breakpoints in debug lost if line is inserted; IDLE

2014-08-09 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Not sure if this consequence of the commit is intended behavior, but still placing it here. In any file, set a breakpoint on any line. Pressing key anywhere after the first character, will create a new breakpoint in the next line. These lines will also

[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

[issue14105] Breakpoints in debug lost if line is inserted; IDLE

2014-08-11 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: While working on issue22083, I noticed a few redundant comments. This patch removes them. -- keywords: +patch Added file: http://bugs.python.org/file36349/remove-pyshell-comment.diff ___ Python tracker <h

[issue21880] IDLE: Ability to run 3rd party code checkers

2014-08-13 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Attached is a patch which adds capability to work with external programs which can modify the source file(Like whitespace remover tool). It works with all 4 boolean combinations for {show result, reload source}. The test coverage will be increased

[issue22195] Make it easy to replace print() calls with logging calls

2014-08-14 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : -- nosy: +sahutd ___ Python tracker <http://bugs.python.org/issue22195> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2014-08-15 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: @ Ned Deily: Thank you for the comment's. 1. I documented it in the config-extensions.def how to make it visible on startup(or not). In the new patch, it is not visible by default. 2. I have made the changes. 4. I'll explain the reason why thi

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2014-08-16 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: On 16 August 2014 14:03, Ned Deily wrote: > 1. With Tk 8.4, the extension gets a bit further but still fails: > I fixed this now. Please let me know how it works now. > 2. I just noticed that the (now) "Line Number" menu item has no v

[issue18766] IDLE: Autocomplete in editor doesn't work for un-imported modules

2014-09-02 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : -- nosy: +sahutd ___ Python tracker <http://bugs.python.org/issue18766> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18766] IDLE: Autocomplete in editor doesn't work for un-imported modules

2014-09-07 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Hi Terry, Would it be better if the current inlined code is moved into get_entity? It will also make it easier to test. The try:... except ImportError block be present within the get_entity method itself? Otherwise, I will make a patch on what you said

[issue22133] IDLE: Set correct WM_CLASS on X11

2014-09-28 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: >I don't know how dialogs and calltip popups behave on Gnome Shell Can you reply what behaviour you want to confirm? If you meant, grouping - Toplevels like ClassBrowser, PathBrowser etc are always grouped as single unit in the "Activity Bar&

[issue22515] Implement partial order on Counter

2014-10-03 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: I mentioned my wording for the comment about lesser than partial ordering using the code review tool. In the attached patch(based on issue22515.stoneleaf.patch.01), I have added test for the case when the other object is not a mapping. I have also tried

[issue4832] IDLE does not supply a default ext of .py on Windows or OS X for new file saves

2014-10-06 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: I will try to describe the behavior on linux: (Format used is "what i type in file name" -> "name which gets written to disk") 1. When files of type is: Python Files a -> a.py b.py -> b.py c.py.py -> c.py.py d

  1   2   >