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
Changes by Saimadhav Heblikar :
Removed file:
http://bugs.python.org/file34439/classbrowser-improvements-v2.patch
___
Python tracker
<http://bugs.python.org/issue20
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
Changes by Saimadhav Heblikar :
--
nosy: +sahutd
___
Python tracker
<http://bugs.python.org/issue1350>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Changes by Saimadhav Heblikar :
--
title: Add doc examples for importlib -> Add examples for importlib in doc
___
Python tracker
<http://bugs.python.org/issu
Changes by Saimadhav Heblikar :
--
nosy: +sahutd
___
Python tracker
<http://bugs.python.org/issue21140>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file34714/issue21140-34.patch
___
Python tracker
<http://bugs.python.org/issue21140>
___
___
Python-bug
Changes by Saimadhav Heblikar :
--
nosy: +sahutd
___
Python tracker
<http://bugs.python.org/issue21139>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file34764/issue21139-34.patch
___
Python tracker
<http://bugs.python.org/issue21139>
___
___
Python-bug
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
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
Changes by Saimadhav Heblikar :
--
nosy: +sahutd
___
Python tracker
<http://bugs.python.org/issue21380>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Changes by Saimadhav Heblikar :
Removed file:
http://bugs.python.org/file35301/about+classbrowser+cfghelpsrcedit+pathbrowser+textview.diff
___
Python tracker
<http://bugs.python.org/issue21
Changes by Saimadhav Heblikar :
Added file:
http://bugs.python.org/file35302/about+classbrowser+cfghelpsrcedit+pathbrowser+textview.diff
___
Python tracker
<http://bugs.python.org/issue21
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
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file35335/run-runall.diff
___
Python tracker
<http://bugs.python.org/issue21477>
___
___
Python-bug
Changes by Saimadhav Heblikar :
Removed file:
http://bugs.python.org/file35302/about+classbrowser+cfghelpsrcedit+pathbrowser+textview.diff
___
Python tracker
<http://bugs.python.org/issue21
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
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file35364/htest-25052014-27.diff
___
Python tracker
<http://bugs.python.org/issue21477>
___
___
Pytho
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
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file35369/htest-26052014-27.diff
___
Python tracker
<http://bugs.python.org/issue21477>
___
___
Pytho
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
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file35387/htest-28052014-27.diff
___
Python tracker
<http://bugs.python.org/issue21477>
___
___
Pytho
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file35411/htest-docstring-34.diff
___
Python tracker
<http://bugs.python.org/issue21477>
___
___
Pytho
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file35412/htest-docstring-27.diff
___
Python tracker
<http://bugs.python.org/issue21477>
___
___
Pytho
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
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
Changes by Saimadhav Heblikar :
Removed file: http://bugs.python.org/file34125/test-config-helpsource-33.patch
___
Python tracker
<http://bugs.python.org/issue20
Changes by Saimadhav Heblikar :
Removed file: http://bugs.python.org/file34128/test-config-helpsource-27.patch
___
Python tracker
<http://bugs.python.org/issue20
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file35446/test-cfg-help-34.diff
___
Python tracker
<http://bugs.python.org/issue20640>
___
___
Pytho
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file35447/test-cfg-help-27.diff
___
Python tracker
<http://bugs.python.org/issue20640>
___
___
Pytho
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file35458/test-autoexpand1.diff
___
Python tracker
<http://bugs.python.org/issue18292>
___
___
Pytho
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
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
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file35477/test-autoexpand3.diff
___
Python tracker
<http://bugs.python.org/issue18292>
___
___
Pytho
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
Changes by Saimadhav Heblikar :
--
nosy: +sahutd
___
Python tracker
<http://bugs.python.org/issue17390>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
Changes by Saimadhav Heblikar :
--
nosy: +sahutd
___
Python tracker
<http://bugs.python.org/issue11437>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
Changes by Saimadhav Heblikar :
Removed file: http://bugs.python.org/file35590/keybinding-issue12387-v1.diff
___
Python tracker
<http://bugs.python.org/issue12
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file35591/keybinding-issue12387-v1.diff
___
Python tracker
<http://bugs.python.org/issue12387>
___
___
Changes by Saimadhav Heblikar :
Removed file: http://bugs.python.org/file35591/keybinding-issue12387-v1.diff
___
Python tracker
<http://bugs.python.org/issue12
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file35592/keybinding-issue12387-v1.diff
___
Python tracker
<http://bugs.python.org/issue12387>
___
___
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
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file35629/test-hyperparser-v1.diff
___
Python tracker
<http://bugs.python.org/issue21694>
___
___
Pytho
Changes by Saimadhav Heblikar :
Removed file: http://bugs.python.org/file35629/test-hyperparser-v1.diff
___
Python tracker
<http://bugs.python.org/issue21694>
___
___
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file35630/test-hyperparser-v1.diff
___
Python tracker
<http://bugs.python.org/issue21686>
___
___
Pytho
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file35641/test-configuration-v2.diff
___
Python tracker
<http://bugs.python.org/issue21696>
___
___
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
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
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
Changes by Saimadhav Heblikar :
--
nosy: +taleinat
___
Python tracker
<http://bugs.python.org/issue17535>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file35819/3rdpartychecker-v2.diff
___
Python tracker
<http://bugs.python.org/issue21880>
___
___
Pytho
Changes by Saimadhav Heblikar :
Removed file: http://bugs.python.org/file35819/3rdpartychecker-v2.diff
___
Python tracker
<http://bugs.python.org/issue21880>
___
___
Pytho
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file35821/3rdpartychecker-v2.diff
___
Python tracker
<http://bugs.python.org/issue21880>
___
___
Pytho
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
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
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
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?
Changes by Saimadhav Heblikar :
Removed file: http://bugs.python.org/file35883/issue18592-fix.diff
___
Python tracker
<http://bugs.python.org/issue18592>
___
___
Pytho
Changes by Saimadhav Heblikar :
--
nosy: +sahutd
___
Python tracker
<http://bugs.python.org/issue21937>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
Changes by Saimadhav Heblikar :
--
type: -> crash
___
Python tracker
<http://bugs.python.org/issue21982>
___
___
Python-bugs-list mailing list
Unsubscrib
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file35982/test_percolator-34-v2.diff
___
Python tracker
<http://bugs.python.org/issue21939>
___
___
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
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
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
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
Changes by Saimadhav Heblikar :
Added file: http://bugs.python.org/file36252/after-before.png
___
Python tracker
<http://bugs.python.org/issue22133>
___
___
Python-bug
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.
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/
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
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
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
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
Changes by Saimadhav Heblikar :
--
nosy: +sahutd
___
Python tracker
<http://bugs.python.org/issue22195>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Changes by Saimadhav Heblikar :
--
nosy: +sahutd
___
Python tracker
<http://bugs.python.org/issue18766>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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&
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
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 - 100 of 147 matches
Mail list logo