[issue25059] Mistake in input-output tutorial regarding print() seperator

2015-09-10 Thread Saimadhav Heblikar

New submission from Saimadhav Heblikar:

Feel free to make changes to the patch if you want to improve the sentence 
structure.

--
assignee: docs@python
components: Documentation
messages: 250390
nosy: docs@python, sahutd
priority: normal
severity: normal
status: open
title: Mistake in input-output tutorial regarding print() seperator
versions: Python 3.5, Python 3.6

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25059>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25059] Mistake in input-output tutorial regarding print() seperator

2015-09-10 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

Agreed with both David Murray and Eric.

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25059>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25059] Mistake in input-output tutorial regarding print() seperator

2015-09-10 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar <saimadhavhebli...@gmail.com>:


Added file: http://bugs.python.org/file40428/issue25059

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25059>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23551] IDLE to provide menu link to PIP gui.

2015-09-05 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

Hi Terry,

Unfortunately, I had to perform a system reinstall, which wiped out the patch.

I dont mind doing it again, but it might take until the weekend to complete.

Also, now my questions from earlier are answered, it should be easier.

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23551>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23665] Provide IDLE menu option to set command-line arguments

2015-03-16 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

http://bugs.python.org/issue5680

Also had submitted a patch for it. Could you post your review there? (I was 
learning the CPython style then, so excuse obvious mistakes :) )

--
nosy: +sahutd

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23665
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23551] IDLE to provide menu options for using PIP

2015-03-14 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

The proof of concept is almost ready.
I have a couple of questions to anyone familiar with pip api (and on windows 
for question 2)

1. Is a restart of the interpreter absolutely required for 
pip.operations.freeze.freeze() to reflect changes?(install/uninstall)?

2. (Windows particular) Is a permission similar to sudo required to install 
packages using pip? If not, would it be OK to install only to user home 
director in *nix? Doing so would be allow code to be same across platforms. It 
would also prevent asking the end user where they want the package to be 
installed.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23551
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23551] IDLE to provide menu options for using PIP

2015-03-07 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

For the initial version here is what I plan to code:
A single package manager entry in a suitable menu. This would open a dialog 
window
containing options for (inspired from msg236906).
1. Show installed packages(freeze)
This menu would have options to update and remove the said package.
2. Install package 
The user may specify an url, paste a requirements.txt type file or
point to a requirements.txt file.
3. Settings
   Change install directory 

The user will be able to update/revert to a specific version.
Incase of an error, the error message which would be have been printed to 
the terminal will be displayed to the user in a dialog box.

Any changes made to packages would be for the version using which IDLE was 
started.

Also, what do you feel about support from non-PyPI repositories like github? Do 
we intend to support everything pip supports or only a subset of it (say PyPI)?

For this initial version, I would like to keep cloning across versions for 
later version. For now these are the things I would like to get right first.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23551
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23581] unittest.mock.MagicMock doesn't support matmul (@) operator

2015-03-05 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


--
nosy: +sahutd

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23581
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23551] IDLE to provide menu options for using PIP

2015-03-05 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

Hi,
I would like to work on this. Give me a day or two to come up with my design 
plan, for feedback.
Let me know please if this feature addition is being considered.

--
nosy: +sahutd

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23551
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6171] IDLE - TreeWidget draw and double-click (Ubuntu)

2015-01-07 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

Behavior described in msg229434 is right. Tested on Ubuntu 14.04 64bit with 
Python version  3.5.0a, TkVersion=8.5 and TclVersion=8.5.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6171
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23136] BUG in how _strptime() handles week 0

2014-12-31 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


--
nosy: +sahutd

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23136
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23136] BUG in how _strptime() handles week 0

2014-12-31 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

Hi, 

Here is my understanding of it.
I have used the following C example of strptime and strftime to show that the 
string '0 2015 2' along with the format specifier '%W %Y %w' is invalid.

For any valid string, strptime followed by strftime should return the same 
string. This is easily verified. However, when you try the same thing(as in the 
attached example) with '0 2015 2', we get a different string after strptime 
followed by strftime, indicating the string is invalid.

Do let me know if I have made any mistake in understanding this.

--
Added file: http://bugs.python.org/file37572/example.c

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23136
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23136] BUG in how _strptime() handles week 0

2014-12-31 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

Not necessarily.  String to datetime mapping implemented by strptime can be 
many to one.  For example,

I was referring to C strptime and strftime. 
But thanks for posting the round trip example. I was unaware of it.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23136
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22706] Idle extension configuration and key bindings

2014-12-28 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


--
keywords: +patch
Added file: http://bugs.python.org/file37550/issue22706_1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22706
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18590] Found text not always highlighted by Replace dialog on Windows

2014-12-20 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

I tested for the behaviour described in msg193895 before and after your patch. 
Everything remains same except as what you mentioned.

Currently, Replace dialog Find hits are tagged with both the 'hit' and the 
'sel' tag, which does not show on Windows as long as the dialog is the active 
window, but apparently does on other systems.  Raising the hit tag to the top 
(either patch) means that the visible highlight on other systems will change 
from 'selected' to 'found' (which are independently configurable in Idle 
preferences).

If this not desired, the patch could be altered to use tag 'hit' on Windows 
and 'sel' elsewhere; change 'hit' (on Windows) to 'sel' when the dialog is 
closed; and configure 'hit' to look like 'sel' (so there is no visible change 
when closing, as on other systems).

It would be better to ensure that there is no visible change when closing.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18590
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22706] Idle extension configuration and key bindings

2014-12-17 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

ZoomHeight behavior on linux is as what you mentioned. Now I have understood 
this issue. Working on it.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22706
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22706] Idle extension configuration and key bindings

2014-12-15 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

Need some clarification on this issue. I tried changing the cfgBindings for 
FormatParagraph. It creates a new key-set and writes the changes to user 
config-keys.cfg in ~/.idlerc(the keybindings). Any changes made to 
FormatParagraph in extension dialog(the [X]) are written to the user 
config-extensions.cfg file in ~/.idlerc.

Have I understood the issue correctly in saying that the desired outcome is 
both [X] and [X_cfgBindings] write to config-extensions.cfg in ~/.idlerc?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22706
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22706] Idle extension configuration and key bindings

2014-10-31 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


--
nosy: +sahutd

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22706
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22705] Idle extension configuration: add option-help option

2014-10-25 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

Attached is a patch which attempts to display help text using a ToolTip. The 
additional requirement is that for entry 'name', there be another entry have a 
'name_help' in the config-extensions.def(easier to see the file to understand 
what I mean).

A few changes were required in ToolTip.py to adjust the delay in millisecond 
value.

Note : In the current patch, I have added demo help string only for CodeContext 
and AutoComplete.

--
keywords: +patch
Added file: http://bugs.python.org/file37012/issue22705-v1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22705
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22705] Idle extension configuration: add option-help option

2014-10-23 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

Would like to check if a tooltip would be appropriate for this?
If yes, I would like to work on it.

--
nosy: +sahutd

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22705
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22628] Idle: Tree lines are spaced too close together.

2014-10-16 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

It does not change anything else other than the intended, so looks OK on linux.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22628
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3068] IDLE - Add an extension configuration dialog

2014-10-14 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

1. Can we have more padding at the right end of the text widget? For me, it 
appears attached to the scrollbar.

2. Shortcut key for Configure extensions should be different from Configure 
Extensions. By this I mean, with the Options menu open, there is no way to open 
Configure Extensions using the keyboard.(Also see sidenote 1).

3. Is there a need for ... after Configure Extensions? I am asking this as 
don't know why it was there for Configure IDLE... in the first place.

4. User extension config files are created even if extension config settings 
are not dirty. Clicking OK or Apply without changing anything creates them. 
Even if I change the setting for only 1 extension, extension config for all 
extensions are written to disk. This is unlike the behavior of Configure IDLE 
dialog.

5. There are a couple of places where Ok and Cancel are used. If I have 
understood PEP8 correctly, aren't they not following it? Should they be ok and 
cancel instead?

6. Is there a reason to comment out the unittest and Htest in 
configDialog.py?(Other than application has been destroyed .. messages?)


Sidenote 1 : Options menu unreachable via keyboard shortcut because both format 
and options have O as the keyboard shortcut.

Sidenote 2: I am writing the review comments here as review tool does not 
detect all the files affected by this patch. Please confirm, so that I will 
post this issue to the developer list.

-- 
Regards
Saimadhav Heblikar

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3068
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6171] IDLE - Class Browser selection in Ubuntu

2014-10-14 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


--
nosy: +sahutd

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6171
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21603] IDLE: Document SaveAs extension display on Mac

2014-10-12 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

Saimadhav, can you quickly try Save As with x.py on Linux?

with files of type python: filename stored on disk - x.py
with all files type : filename stored on disk - x.py

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21603
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.py.abc - d.py.abc (!)
   e.abc - e.abc (!)

2. When files of type is: text file
Same behavior as before, with .txt instead of .py/.pyw

3. When files of type is: All files
   a - a
   b.py - b.py
   c.py.py - c.py.py
   d.py.abc - d.py.abc
   e.abc - e.abc

I hopefully have tried most of the combinations. If I have left out any, please 
let me know and I'll try them out.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4832
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22515] Implement partial order on Counter

2014-10-04 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 to refactor the __le__ and __ge__ methods.

Please comment on the changes.
Regards

--
nosy: +sahutd
Added file: 
http://bugs.python.org/file36796/issue22515_partial_order_counter_v2.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22515
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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. But, in the popup which 
you get for Alt + Tab, they are displayed as 2 different applications - 
stress on different. For example, if I have two different windows of Google 
Chrome open, they are listed as a single application, both windows nested under 
a single logo. With IDLE, its two different applications.

tkMessageBox and tkFileDialog usage like in open_class_browser() and Save 
As change the title of in the Activity Bar and Alt+Tab menu to tkFDialog. 
I am not sure if there is a way to pass class_ argument in such a situation.

Just a suggestion, can we use sys.version_info to get Python major version to 
have uniform code?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22133
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 earlier in 
http://bugs.python.org/issue18766#msg224663.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18766
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2014-09-02 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


--
nosy: +sahutd

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18766
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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:

@ 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 this argument is required:
Without this argument, if a user selects the sidebar Text widget, a highlight 
can be seen around the selected area. Adding this argument prevents it showing 
up.
The new patch prevents this unknown option error, by adding the 
inactiveselectbackground only if Tk version = 8.5

(Because of this issue which you raised, I found a new bug and fixed it - see 
below.)

5. Done

6. I added a comment in the config-extensions.def file. The enable_shell option 
has been removed for now. It is not related to linenumbering.

@Terry Reedy:

1. Done. Disabled by default

4. I mentioned the reason why it is required above.


New bug which was discovered because of 4 and fixed:
Scrolling on the sidebar text widget using mouse by dragging would scroll just 
the sidebar text widget and not the main text widget. This has been fixed by 
adding  self.text.yview_moveto(args[0]) in vbar_set.

--
Added file: http://bugs.python.org/file36384/linenumber-text-widget-v2.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17535
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 rep...@bugs.python.org 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 visual 
 indication of its state nor does it preserve its state over IDLE sessions.  
 The Code Context extension for edit windows does both: the menu item has a 
 checkmark when enabled and that state is restored when IDLE is restarted.

Done.

--
Added file: http://bugs.python.org/file36387/linenumber-text-widget-v3.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17535
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2014-08-14 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


--
nosy: +sahutd

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22195
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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, depending on what feature we choose to 
keep. The GUI is tested thoroughly. The runner code is tested at a basic level.

Please let me know your comments on this.

--
Added file: http://bugs.python.org/file36366/3rdpartychecker-v4.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21880
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 filename is not set, text.bell() is replaced with a dialog to prompt 
the user to save the file.

--
Added file: http://bugs.python.org/file36348/pyshell-breakpoint-refactor-v2.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22083
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 rep...@bugs.python.org
http://bugs.python.org/issue14105
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 Enter key anywhere after 
the first character, will create a new breakpoint in the next line. These lines 
will also get saved to the .idlerc/breakpoints.lst file.

This is mostly(99.9%) Tk behavior.

--
nosy: +sahutd

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14105
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.

Most applications on Gnome set it to just the name of the program, like 
Terminal, or Google Chrome. So that is why I suggested IDLE. Even though 
we have 2 versions of IDLE, we have the IDLE title bar to give more information 
related to the version etc.
IIRC, OSX also has a system wide title bar which displays the program name 
which currently has focus. Could we use that as a precedence to choose IDLE 
vs {IDLE2, IDLE3}?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22133
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/idle.desktop).

No. It stays Idle. Also there was no file for me in 
/usr/share/applications/idle.desktop. An idle.desktop file was found in 
/usr/share/app-install/desktop/idle.desktop, whose content is
[Desktop Entry]
X-AppInstall-Package=idle
X-AppInstall-Popcon=132
X-AppInstall-Section=main

Name=IDLE
Comment=Integrated Development Environment for Python
Exec=/usr/bin/idle
Icon=/usr/share/pixmaps/idle.xpm
Terminal=false
MultipleArgs=false
Type=Application
Categories=Application;Development;
StartupNotify=true

I don't have any icon file at /usr/share/pixmaps/idle.xpm

After copying the above idle.desktop to /usr/share/applications/, the activity 
bar becomes IDLE. There is NO icon.
If I set class_='Idle3', it works as expected with icon and text.

With 2.7, 'Idle2', displays same behavior with proper icon and text.
With 2.7, 'Idle' it displays IDLE and no icon.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22133
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 verified using xprop, 
that the correct WM_CLASS value is getting set.

(Does this have any other side effect on KDE, LXDE, XFCE et al?)

--
components: IDLE
files: idle-x11-class.diff
keywords: patch
messages: 224728
nosy: jesstess, sahutd, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: Set correct WM_CLASS on X11
versions: Python 2.7, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file36251/idle-x11-class.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22133
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22133] IDLE: Set correct WM_CLASS on X11

2014-08-04 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Added file: http://bugs.python.org/file36252/after-before.png

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22133
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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. While it *IS* not required for me, it *WAS* 
in the past. I don't know what has changed, but as it stands it is not 
required, IDK if it has been caused by a hardware change on my end.
Anyways, while reviewing, please open a large file, and change the font size 
from minimum to maximum to minimum many times. Post here if the Linenumbering 
goes out of sync with and without uncommenting the comment block.

--
Added file: http://bugs.python.org/file36194/linenumber-text-widget-v1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17535
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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) and
clear_breakpoint(_here) methods. The clear_breakpoint_here, which is not 
present currently has been added.
No functionality has been added or removed, so I think it should be safe to go 
forward.

--
components: IDLE
files: pyshell-breakpoint-refactor.diff
keywords: patch
messages: 224062
nosy: jesstess, sahutd, taleinat, terry.reedy
priority: normal
severity: normal
status: open
title: Refactor PyShell's breakpoint related methods
versions: Python 2.7, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file36112/pyshell-breakpoint-refactor.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22083
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22055] Incomplete sentence in asyncio BaseEventLoop doc

2014-07-24 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


--
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 sentence in asyncio BaseEventLoop doc
versions: Python 3.4, Python 3.5
Added file: 
http://bugs.python.org/file36060/asyncio-eventloop-doc-incomplete-sent.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22055
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Question about asyncio doc example

2014-07-23 Thread Saimadhav Heblikar
Hi,

The example in question is
https://docs.python.org/3/library/asyncio-task.html#example-hello-world-coroutine.
I'd like to learn the purpose of the statement
yield from asyncio.sleep(2) in that example.

In particular, I'd like to know if asyncio.sleep() is used as a
substitute for slow/time consuming operation, i.e. in real code,
whether there will be a real time consuming statement in place of
asyncio.sleep().

-- 
Regards
Saimadhav Heblikar
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Question about asyncio doc example

2014-07-23 Thread Saimadhav Heblikar
On 24 July 2014 05:54, Terry Reedy tjre...@udel.edu wrote:
 On 7/23/2014 6:43 AM, Saimadhav Heblikar wrote:

 Hi,

 The example in question is

 https://docs.python.org/3/library/asyncio-task.html#example-hello-world-coroutine.
 I'd like to learn the purpose of the statement
 yield from asyncio.sleep(2) in that example.

 In particular, I'd like to know if asyncio.sleep() is used as a
 substitute for slow/time consuming operation, i.e. in real code,
 whether there will be a real time consuming statement in place of
 asyncio.sleep().


 The context is
 while True:
 print('Hello')
 yield from asyncio.sleep(3)

 sleep is both itself, to shown to schedule something at intervals in a
 non-blocking fashion, as well as a placefiller.  The blocking equivalent
 would use 'time' instead of 'yield from asyncio'. The following shows the
 non-blocking feature a bit better.

 import asyncio

 @asyncio.coroutine
 def hello():
 while True:
 print('Hello')
 yield from asyncio.sleep(3)

 @asyncio.coroutine
 def goodbye():
 while True:
 print('Goodbye')
 yield from asyncio.sleep(5.01)

 @asyncio.coroutine
 def world():
 while True:
 print('World')
 yield from asyncio.sleep(2.02)

 loop = asyncio.get_event_loop()
 loop.run_until_complete(asyncio.wait([hello(), goodbye(), world()]))

 Getting the same time behavior in a while...sleep loop requires reproducing
 some of the calculation and queue manipulation included in the event loop.

 --
 Terry Jan Reedy

 --
 https://mail.python.org/mailman/listinfo/python-list

That clears it up for me. For situations where I dont really know how
long a function is going to take(say waiting for user input or a
network operation), I am better off using callbacks than yield from
asyncio.sleep(). Is my understanding correct?



-- 
Regards
Saimadhav Heblikar
-- 
https://mail.python.org/mailman/listinfo/python-list


[issue21939] IDLE - Test Percolator

2014-07-17 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Added file: http://bugs.python.org/file35982/test_percolator-34-v2.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21939
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: Regression introduced in configDialog by rev 91509
versions: Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21982
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2014-07-14 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


--
type:  - crash

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21982
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
__call__
.
.
SNIPPED
.
.
self.tk = master.tk
AttributeError: 'tuple' object has no attribute 'tk'

--
Added file: http://bugs.python.org/file35937/grepdialog_bug.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18592
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2014-07-08 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


--
nosy: +sahutd

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21937
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: normal
status: open
title: IDLE - Test Percolator
versions: Python 2.7, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file35899/test_percolator-34.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21939
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
priority: normal
severity: normal
status: open
title: IDLE - Test WidgetRedirector
versions: Python 2.7, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file35900/test-widgetredir-34.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21940
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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)

==
FAIL: test_make_entry 
(idlelib.idle_test.test_searchdialogbase.SearchDialogBaseTest)
--
Traceback (most recent call last):
  File 
/root/buildarea/3.x.angelico-debian-amd64/build/Lib/idlelib/idle_test/test_searchdialogbase.py,
 line 83, in test_make_entry
equal(egi['row'], 0)
AssertionError: '0' != 0

--
Ran 128 tests in 0.779s

FAILED (failures=1)
test test_idle failed


Attach patch fixes it in a straight forward way.

--
nosy: +sahutd
Added file: http://bugs.python.org/file35883/issue18592-fix.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18592
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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?  Serhiy, do you have any idea? 
2.7 with '0'/'1' is passing.

(I am removing the patch as this issue has a background that I was not aware 
of.)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18592
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18592] Idle: test SearchDialogBase.py

2014-07-07 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Removed file: http://bugs.python.org/file35883/issue18592-fix.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18592
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 detected automatically in IDLE. There will be a feature to pass 
additional arguments onto the checker(though not yet implemented in this patch).

This patch also supports the feature to modify the editor buffer.

To test out this patch, kindly install two packages
pip install -i https://testpypi.python.org/pypi IDLEPyflakes 
IDLEWhitespaceRemover

(I used the reindent.py file in Tools/scripts in IDLEWhitespaceRemover)

Again, this is more a proof of concept patch. I we are to go ahead in this 
direction, I will be writing it from scratch again and also with tests.

Checker, is actually a misnomer if we do support the modify buffer feature.

--
Added file: http://bugs.python.org/file35868/3rdpartychecker-v3.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21880
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 version 3.5), if my understanding of pep434 is correct.

From pep434
The PEP would apply to changes in existing features and addition of small 
features, such as would require a new menu entry, but not necessarily to 
possible major re-writes such as switching to themed widgets or tabbed windows

Though, I cant say for sure into what category this feature would fall into, 
i.e. whether it is a small feature or not.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21880
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2014-07-01 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Added file: http://bugs.python.org/file35819/3rdpartychecker-v2.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21880
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2014-07-01 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Removed file: http://bugs.python.org/file35819/3rdpartychecker-v2.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21880
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2014-07-01 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Added file: http://bugs.python.org/file35821/3rdpartychecker-v2.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21880
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/UX wise.) 

It is implemented as an extension.

--
components: IDLE
files: 3rdpartychecker-v1.diff
keywords: patch
messages: 221876
nosy: jesstess, sahutd, taleinat, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: Ability to run 3rd party code checkers
versions: Python 2.7, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file35801/3rdpartychecker-v1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21880
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 Changed virtual event, when insert, delete, replace,
   cursor changes position, window resized, scrolled etc. Nothing else
   is affected. The result of the original call is returned.
4. LineNumber.LineNumberCanvas info
a) font_color and breakpoint_color have default values
b) Linenumber and breakpoints disabled by default. Instantiating
   a LineNumberCanvas object does not pack it.
c) Pack it programmatically by calling its attach method.
   Compulsorily supply the text widget to attach to.
   Supply other parameters like font_color, background, 
   breakpoint_color as necessary.
d) Unpack using detach method.
e) Breakpoint feature is enabled only if LineNumberCanvas can 
   see an EditorWindow instance called editwin as its attribute.
   It(editwin) should implement set_breakpoint(linenumber) and 
   clear_breakpoint(linenumber) methods. EditorWindow responsible
   for binding breakpoint action on the canvas to LineNumberCanvas'
   toggle_breakpoint method.
f) Contains a htest for GUI testing linenumbering and breakpoints.
g) Any valid color can be set for linenumber canvas' background,
   its font color and breakpoint color. NS: Breakpoint does not have
   a background color.
h) Linenumber canvas enabled by default.
5. Linenumber preferences in configDialog's General tab.
   Highlight preferences in  configDialog's Highlight tab.
6. Other changes
   a) Refactoring of PyShell's set_breakpoint_here, set_breakpoint,
  clear_breakpoint_here and clear_breakpoint to make more consistent.

--
Added file: http://bugs.python.org/file35723/line-numbering-v2.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17535
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 saimadhavhebli...@gmail.com:


--
nosy: +taleinat

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17535
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 specific bugs and 
performance related issues(if any). In the patch, all major additions are in a 
new file LineNumber.py. 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 tk.call(self.text, '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] - https://mail.python.org/pipermail/idle-dev/2014-June/003456.html

--
nosy: +jesstess
versions: +Python 3.5 -Python 3.3
Added file: http://bugs.python.org/file35689/line-numbering-v1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17535
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 rep...@bugs.python.org
http://bugs.python.org/issue21519
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21694] IDLE - Test ParenMatch

2014-06-14 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Added file: http://bugs.python.org/file35629/test-hyperparser-v1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21694
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21694] IDLE - Test ParenMatch

2014-06-14 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Removed file: http://bugs.python.org/file35629/test-hyperparser-v1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21694
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21686] IDLE - Test hyperparser

2014-06-14 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Added file: http://bugs.python.org/file35630/test-hyperparser-v1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21686
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21696] Idle: test configuration files

2014-06-14 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Added file: http://bugs.python.org/file35641/test-configuration-v2.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21696
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-parenmatch-21694-27-v2.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21694
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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=Control-Key-w, redo=Alt-Key-z Meta-Key-z, and emac's 
style actions like open-new-window=Control-Key-xControl-Key-n,
can be performed by just pressing the respective keys, irrespective of CAPS.

I would like to know if this patch is acceptable and whether it performs as 
expected on all platforms.

--
Added file: http://bugs.python.org/file35590/keybinding-issue12387-v1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12387
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12387] IDLE save keyboard shortcut problem

2014-06-12 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Removed file: http://bugs.python.org/file35590/keybinding-issue12387-v1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12387
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12387] IDLE save keyboard shortcut problem

2014-06-12 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Added file: http://bugs.python.org/file35591/keybinding-issue12387-v1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12387
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12387] IDLE save keyboard shortcut problem

2014-06-12 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Removed file: http://bugs.python.org/file35591/keybinding-issue12387-v1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12387
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12387] IDLE save keyboard shortcut problem

2014-06-12 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Added file: http://bugs.python.org/file35592/keybinding-issue12387-v1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12387
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.

The attached patch also ensures that when UndoDelegator.py is run, unittest is 
called with exit=False, so that htest is run.
The htest display is also corrected, and works the same way as without 
unittest.(with correct buttons etc).

Only problem remaining is when UndoDelegator is run,


can't invoke event command:  application has been destroyed
while executing
event generate $w ThemeChanged
(procedure ttk::ThemeChanged line 6)
invoked from within
ttk::ThemeChanged

--
Added file: 
http://bugs.python.org/file35564/test-undodelegator-refleak-fixed.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21703
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 are expected, ensure that the values 
are correct. For strings, it only ensures that the values are reasonably 
correct.





[1] https://mail.python.org/pipermail/idle-dev/2014-June/003431.html

--
keywords: +patch
Added file: http://bugs.python.org/file35570/test-configuration.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21696
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
beginning 6 repetitions
123456
..
test_idle leaked [237, 237, 237] references, sum=711
test_idle leaked [95, 98, 97] memory blocks, sum=290
1 test failed:
test_idle

Any hint on where the problem is?
---
I also plan to cover other helper classes in the same UndoDelegator file.

--
components: IDLE
files: test-undodelegator.diff
keywords: patch
messages: 220158
nosy: jesstess, sahutd, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: Test UndoDelegator
versions: Python 2.7, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file35550/test-undodelegator.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21703
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2014-06-09 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


--
nosy: +sahutd

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11437
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
priority: normal
severity: normal
status: open
title: IDLE - Test ParenMatch
versions: Python 2.7, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file35536/test-parenmatch.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21694
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21682] Refleak in idle_test test_autocomplete

2014-06-07 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: http://bugs.python.org/file35506/issue21682.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21682
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: jesstess, sahutd, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE - Test hyperparser
versions: Python 2.7, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file35512/test-hyperparser.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21686
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21676] IDLE - Test Replace Dialog

2014-06-06 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 3069198412callit
while executing
3069198412callit
(after script)
invalid command name 3051229868callit
while executing
3051229868callit
(after script), 

though the tests pass. 


If this is fine, will post a 2.7 backport.

--
components: IDLE
files: test-replace-34.diff
keywords: patch
messages: 219863
nosy: jesstess, sahutd, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE - Test Replace Dialog
versions: Python 2.7, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file35493/test-replace-34.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21676
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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():
parts of test which can be run keeping in mind mock.Text's  limitations.
else:
everything, using tkinter.Text



Only drawback is _is_gui_available is not documented publicly. Also, we'd will 
have lot of if...else blocks all over the place. Avoiding code duplication will 
be tricky.
If nothing else, the if...else block can be used at the import level only.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21647
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18292] Idle: test AutoExpand.py

2014-06-04 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Added file: http://bugs.python.org/file35477/test-autoexpand3.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18292
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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)
py_minor_version (4)
py_patchlevel (1+)
tk_version (8.5)
tcl_version (8.5)
filename (sample.py)
dir_path (/media/dev/)
full_path (/media/dev/sample.py)
modified_asterik (if/not saved '*')

These parameters are configurable by going to options-configure 
idle-general tab-configure
The above parameters have to inserted between {} as {tk_version}

The fetching of title is done by a utility function called get_title.
Redundant methods short_title and long_title have been removed.

Default config titles for PyShellEditorWindow, PyShell and OutputWindow have 
been inserted into config-main.def. This is based on my preferences. It may be 
very different from what the community/idle userbase requires. These settings 
have to be changed to suit the tastes of community/idle userbase.

A new module called configTitle. This contains a getTitleDialog class. It is 
modeled along the lines of cfgSectionNameDialog and cfgSectionHelpSourceEdit 
dialog. 

In configDialog.py,in general tab, a new section for configuring title bar 
has been added. Clicking configure brings up a getTitleDialog dialog, where 
the user can modify the title. A simple validity check is also performed. As 
best possible, the GUI additions are in close sync with the existing code 
around it(except in ConfigureTitleBar).

And to whats missing,
1. Bettor error messages could be shown to user
2. Better help text to user in the config dialog,
3. Better UI/UX for configDialog
4. Tests!
5. ConfigureTitleBar() could be rewritten, say once we have a good picture of 
whats needed/not needed/to be removed etc.

--
keywords: +patch
nosy: +jesstess, sahutd
Added file: http://bugs.python.org/file35482/title.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21588
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17390] display python version on idle title bar

2014-06-04 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


--
nosy: +sahutd

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17390
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 me as well.

Do you see anything like this?
Yes. Reproducing your action prints this message. I had previously seen it(when 
writing htest), it was random. I was unable to reproduce it then.

--
Added file: http://bugs.python.org/file35470/test-autoexpand2.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18292
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20640] Idle: test configHelpSourceEdit

2014-06-02 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Removed file: http://bugs.python.org/file34125/test-config-helpsource-33.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20640
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20640] Idle: test configHelpSourceEdit

2014-06-02 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Removed file: http://bugs.python.org/file34128/test-config-helpsource-27.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20640
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20640] Idle: test configHelpSourceEdit

2014-06-02 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Added file: http://bugs.python.org/file35446/test-cfg-help-34.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20640
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20640] Idle: test configHelpSourceEdit

2014-06-02 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Added file: http://bugs.python.org/file35447/test-cfg-help-27.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20640
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18292] Idle: test AutoExpand.py

2014-06-02 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Added file: http://bugs.python.org/file35458/test-autoexpand1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18292
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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_idle
[4/4] test_idle
All 4 tests OK.

So it confirms as a windows issue. Unfortunately, that's all I have to offer on 
this issue ATM.

--
nosy: +sahutd

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20800
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
same in mind. Also, adds respective tests for test_decode in test_text.py.

I would like to know if my approach is acceptable or whether it needs changes.

issue18292 is about adding unittests for AutoExpand.

(A 2.7 patch will be submitted once the above changes become acceptable)

--
nosy: +jesstess, sahutd
Added file: http://bugs.python.org/file35435/mock-text-_decode.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18504
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18292
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21477] Idle: improve idle_test.htest

2014-05-30 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Added file: http://bugs.python.org/file35411/htest-docstring-34.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21477
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21477] Idle: improve idle_test.htest

2014-05-30 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Added file: http://bugs.python.org/file35412/htest-docstring-27.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21477
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 also scrollable. The 
result is that the htest root dialog stays in the same place and same size 
throughout.(See the code for more information).
3. Some minor change to spec dict strings and in ObjectBrowser for child dialog 
placement.

With this, it leaves AutoCompleteWindow, TkMessageBoxes, Debugger(from 
21477-htest.txt) to be tested. 

OutputWindow - already being tested from GrepDialog. There is nothing extra to 
be tested separately.

FileList - Is it already being tested through EditorWindow?
In case there is a need to test them, please say so. The code is ready.

RemoteDebugger and RemoteObjectBrowser - I need some input on how to begin with 
them.


Next: Apart from the above htest, a way to destroy the child when user clicks 
'next', for certain modules like ClassBrowser, which don't work by the method 
of http://bugs.python.org/msg219161

--
Added file: http://bugs.python.org/file35386/htest-28052014-34.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21477
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21477] Idle: improve idle_test.htest

2014-05-28 Thread Saimadhav Heblikar

Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:


Added file: http://bugs.python.org/file35387/htest-28052014-27.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21477
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   >