[issue31739] socket.close recommended but not demonstrated in same-page example code

2017-10-30 Thread Todd Rovito

Change by Todd Rovito <rovit...@rovitotv.org>:


--
nosy: +Todd.Rovito

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



[issue23670] Modifications to support iOS as a cross-compilation target

2017-01-01 Thread Todd Rovito

Todd Rovito added the comment:

Russell, this is excellent work  I am truly amazed that within a couple of 
hours I had Python built and running for the iOS simulator this is a feat I 
didn't think was possible.  Perspective on me I am very familiar with Linux, C, 
and Python but know very little about iOS and XCode keep that in mind when 
reviewing my comments.

MacOS: 10.12.2
Xcode: 8.2.1 (8C1002)
iOS: 10.2 (14C89)
Python source code: 3.5.1

I applied your last patch file name 20160217.diff.  The first issue I ran into 
was clock_settime() is unavailable in iOS so I went into timemodule.c line 164 
and commented out the line:
ret = clock_settime((clocked_t)clk_id, );
then added this line
ret = 0;

Next I think a more serious problem was with Python/random.c line 92 
"Python/random.c:92:19: error: implicit declaration of function 'getentropy' is 
invalid in C99 [-Werror,-Wimplicit-function-declaration]"

So I did the same thing as above commented out the lines with the getentropy 
function and added a line of res = 0.  Who needs entropy anyway?  I wonder if 
this problem is related to issue 29057 (http://bugs.python.org/issue29057).

Next in your README file you list a file called main.c when the actual code is 
main.m.

Next main.m was not compiling with Xcode so I replaced with this line after 
looking at your Python-iOS-template project on GitHub, as I am not qualified to 
make these types of changes:

-line 31 was not compiling so I replaced:
wpython_home = Py_DecodeLocale([python_home UTF8String], NULL);

-line 54 had a similar error so I replaced:
python_argv[0] = Py_DecodeLocale(main_script, NULL);

-line 56 had a similar error so I replaced with this line:
python_argv[i] = Py_DecodeLocale(argv[i], NULL);

-line 89 comment it out to remove the assertion failure, I am not sure what
this line is supposed to do but no assertion failure seems like a better result.

I didn't want to blindly attach a diff as I don't understand the Apple lingo 
but I wanted to provide feedback in the hope that it helps get this patch 
committed so iOS becomes a target for CPython in the near future.  Thanks!

--
nosy: +Todd.Rovito

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



[issue20640] Adds idle test for configHelpSourceEdit

2014-02-16 Thread Todd Rovito

Changes by Todd Rovito rovit...@rovitotv.org:


--
nosy: +Todd.Rovito

___
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



[issue16278] os.rename documentation slightly inaccurate

2014-02-15 Thread Todd Rovito

Todd Rovito added the comment:

Retested this patch with the latest 3.4 and made one tiny change to get it to 
apply cleanly.  Please provide feedback or commit.  I would like to get this 
committed after more than a year since the original bug report.

--
Added file: http://bugs.python.org/file34097/16278OSRenameDocsTestV5.patch

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



[issue16278] os.rename documentation slightly inaccurate

2014-02-15 Thread Todd Rovito

Todd Rovito added the comment:

I forgot to mention this patch only works on 3.4 but if it is committed I will 
work on a patch for 2.7.  Thanks.

--

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



[issue6143] IDLE - an extension to clear the shell window

2014-02-15 Thread Todd Rovito

Changes by Todd Rovito rovit...@rovitotv.org:


--
nosy: +Todd.Rovito

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



[issue18704] IDLE: PEP8 Style Check Integration

2013-08-19 Thread Todd Rovito

Todd Rovito added the comment:

Ezio,
   I think modern editors are expected to have this sort of functionality built 
into them [1].  XCode is simply amazing where it will pop up errors and quote 
the C99 standard [2].  We don't expect IDLE to have all that functionality but 
it seemed to us like it would be great to add pep8 or PyFlakes to IDLE.  It is 
possible we could create an extension but that would void Python's motto 
batteries included.  In addition tools like pep8 and PyFlakes could be useful 
for other purposes as well.  JayKrish is checking with the authors of pep8 
about license issues.  As always we will defer to the judgement of Core 
Developers and could pursue either option.  


[1] Wikipeida Microsoft Visual Studio, 
http://en.wikipedia.org/wiki/Microsoft_Visual_Studio#Code_editor
[2] XCode, http://en.wikipedia.org/wiki/XCode

--
status: pending - open

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



[issue18704] IDLE: PEP8 Style Check Integration

2013-08-19 Thread Todd Rovito

Todd Rovito added the comment:

Raymond,
   Would you prefer PyFlakes instead?  Try to consider IDLE being for beginners 
so they need all the help they can get.  Advanced users can always turn the 
extension off.  Thanks for your input.

--

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



[issue18704] IDLE: PEP8 Style Check Integration

2013-08-19 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +terry.reedy

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



[issue18583] Idle: enhance FormatParagraph

2013-07-29 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue18441] Idle: Make test.support.requires('gui') skip when it should.

2013-07-15 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue18441] Idle: Make test.support.requires('gui') skip when it should.

2013-07-15 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +JayKrish

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



[issue18441] Idle: Make test.support.requires('gui') skip when it should.

2013-07-15 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +philwebster

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



[issue18444] IDLE: Mac OS X pressing ctrl-A in Python shell moved cursor before the prompt, which then makes the keyboard unresponsive.

2013-07-14 Thread Todd Rovito

Todd Rovito added the comment:

Ned,
   Thanks for such a thorough comment this saved me lots of time now I don't 
have to dig so deeply into the problem.


After spending some time trying to understand how this all works or doesn't 
across the various Tk's, I am coming to the conclusion that we need to define a 
new set of default key bindings for OS X, one that generally avoids as much as 
possible the use of Command key and Option key accelerators, as these tend to 
be especially problematic either in Tk or with system conflicts, and, instead, 
use Fn keys for non-trivial accelerators.

I like your purposed solution so I will look into trying to creat a new key 
binding for OS X.

--

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



[issue17721] Help button on preference window doesn't work

2013-07-13 Thread Todd Rovito

Todd Rovito added the comment:

This patch LGTM as well.  I think it should be committed ASAP because the 
button clearly doesn't work as it is programmed now.

--

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



[issue18444] IDLE: Mac OS X pressing ctrl-A in Python shell moved cursor before the prompt, which then makes the keyboard unresponsive.

2013-07-13 Thread Todd Rovito

New submission from Todd Rovito:

covers point 1.1) Pressing the Home key moves the cursor before the  
prompt, which then makes the keyboard unresponsive.

This issues was fixed on Windows XP and Linux here 
http://bugs.python.org/issue3851


On Mac OS X the home key is control-A or function left arrow both have the 
same effect of moving the cursor left of prompt, which them makes the keyboard 
unresponsive.  I tested this with Python 3.4 and Python 2.7 on Mac OS X 10.8.4.

--
components: IDLE
messages: 193025
nosy: Todd.Rovito, roger.serwy, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: Mac OS X pressing ctrl-A in Python shell moved cursor before the 
prompt, which then makes the keyboard unresponsive.
versions: Python 2.7, Python 3.4

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



[issue13504] Meta-issue for Invent with Python IDLE feedback

2013-07-13 Thread Todd Rovito

Todd Rovito added the comment:

1.1) Pressing the Home key moves the cursor before the  prompt, which then 
makes the keyboard unresponsive. 

This issue is still broken on Mac OS X.

http://bugs.python.org/issue18444

--

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



[issue18429] IDLE: Format Paragraph doesn't function with comment blocks

2013-07-12 Thread Todd Rovito

Todd Rovito added the comment:

Terry,
   I was suffering from the classic chicken and egg problem so I was not sure 
if the test case in http://bugs.python.org/issue18226 should include the small 
code change.  I will work with Phil Webster to get this small change added to 
issue 18226 along with test cases.  Thanks!

--
resolution:  - duplicate
status: open - closed

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



[issue18279] IDLE Unit test for RstripExtension.py

2013-07-12 Thread Todd Rovito

Todd Rovito added the comment:

As a suggestion I always use the command make patchcheck (before making the 
patch) which catches the white space and tab problem plus it fixes other 
things.  Here is more information on patch check in the developer's guide.

http://docs.python.org/devguide/committing.html#patch-checklist

--

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



[issue18429] IDLE: Format Paragraph doesn't function with comment blocks

2013-07-11 Thread Todd Rovito

New submission from Todd Rovito:

While working on a test case for Format Paragraph 
(http://bugs.python.org/issue18226) I noted that format paragraph doesn't work 
with comment blocks when a comment block is selected.  The fix is very simple 
by changing one line:
if first and last:
data = text.get(first, last)
comment_header = get_comment_header(data)
else:

The comment_header line was changed from comment_header = ''.  This forces the 
format paragraph extension to always do just a normal text format.  Attached 
is a patch but I would like to explore the bug in more detail and make sure all 
cases are covered.

--
messages: 192883
nosy: Todd.Rovito
priority: normal
severity: normal
status: open
title: IDLE: Format Paragraph doesn't function with comment blocks
type: behavior
versions: Python 3.4

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



[issue18429] IDLE: Format Paragraph doesn't function with comment blocks

2013-07-11 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
keywords: +patch
nosy: +JayKrish, philwebster, roger.serwy, terry.reedy
Added file: http://bugs.python.org/file30891/18429FormatParagraphFor3.4.patch

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



[issue18425] IDLE Unit test for IdleHistory.py

2013-07-10 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue15661] OS X installer packages should be signed for OS X 10.8 Gatekeeper feature

2013-07-06 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue13582] IDLE and pythonw.exe stderr problem

2013-07-06 Thread Todd Rovito

Todd Rovito added the comment:

Terry,
   Bottom line I can't seem to get this patch to do anything for me.  Before 
the patch is applied IDLE seems to be handling warnings and exceptions just 
fine in PyShell on the Mac.  I get no crash and the output matches the normal 
console.  Here is a small test program I wrote:
import warnings

def fxn():
# user warnings are not ignored by default and will cause a dump of 
information
# to standard error.
warnings.warn(User warning: Warn on purpose for IDLE, UserWarning)

if __name__ == __main__:
fxn()
print(the program should not terminate with the warning, but keep on 
running)
a = 10 * 1000
print(a)

# exception testing each of these will stop the program
# divide by zero
b = 10 * (1/0)
print(b)
# variable not defined
c = 4 + spam*3
print(c)
# can't convert 'int' object o str implicitly
d = '2' + 2
print(d)

Then I wanted to make sure I was executing the patched code so I made sure I 
called idle.pyw (normally I wouldn't do that I would use idle.py).  After I 
called the correct script I changed the code to force std error to ErrorNotify 
class around line 101:
import sys

##if 0: # For testing
##sys.__stderr__ = None
##sys.stderr = None

if sys.__stderr__ is None:
sys.__stderr__ = ErrorNotify()

if sys.stderr is None:
sys.stderr = ErrorNotify()

if sys.__stdout__ is None:
sys.__stdout__ = ErrorNotify(devnull=True)

if sys.stdout is None:
sys.stdout = ErrorNotify(devnull=True)

sys.__stderr__ = ErrorNotify()
sys.stderr = ErrorNotify()

I would expect after this code runs any message sent to stderr would go through 
the ErrorNotify class and a widget should appear with the stderr output.  Even 
after this change I can't get the error widget to appear.  I have not given up 
yet but I wanted to provide a status update.

--

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



[issue18226] IDLE Unit test for FormatParagrah.py

2013-07-01 Thread Todd Rovito

Todd Rovito added the comment:

Here is a uncompleted patch but works for the most part.  I thought I would 
post just in case somebody wanted to provide me comments on the general 
direction of the patch. The naming might have to change but this follows Terry 
Reedy's model of monkey patching.

--
keywords: +patch
Added file: 
http://bugs.python.org/file30743/18226IDLEUnitTestFormatParagraph.patch

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



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

2013-07-01 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue7136] Idle File Menu Option Improvement

2013-07-01 Thread Todd Rovito

Todd Rovito added the comment:

Terry I am sorry the push didn't go smooth.  I thought I had checked the patch 
with 2.7 and 3.4 and it applied for me but maybe I missed something?  For sure 
I didn't check 3.3 but from here on out I will.  Awhile ago I worked on a issue 
to synchronize the documentation here:
http://bugs.python.org/issue5066

Mr. Andrew Svetlov was kind enough to push the patch but he only pushed it for 
3.4 which I am not sure why?  Then Zachary Ware had the excellent suggestion of 
making the help.txt generate from the rst file 
http://bugs.python.org/issue16893.  So with all that being said I am confused 
about the direction of IDLE documentation.  Maybe we should reopen issue 5066 
or create a new issue to sync help.txt and idle.rst across all version from 2.7 
- 3.4? Then apply Zachary's patch to automate the creation of help.txt.

--

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



[issue18226] IDLE Unit test for FormatParagrah.py

2013-07-01 Thread Todd Rovito

Todd Rovito added the comment:

Terry,
   Thank you for the feedback this helps me alot!  I will work with Phil 
Webster and will use his Text Widget and EditorWindow classes.  Hopefully this 
will help us converge on a strong unit test for FormatParagraph.py.  Thanks for 
the reminder about triple quoted strings I think your idea to make sure those 
strings are in place now is excellent.

--

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



[issue7136] Idle File Menu Option Improvement

2013-06-30 Thread Todd Rovito

Todd Rovito added the comment:

PING

It has been a month since Roger's last comment on the patch looking good, can 
somebody please commit or post feedback.  Thanks.

--
nosy: +terry.reedy

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



[issue13582] IDLE and pythonw.exe stderr problem

2013-06-30 Thread Todd Rovito

Todd Rovito added the comment:

Yes I have a Mac and I am glad to help, so I gave it a test run tonight.  The 
first thing I did was apply the patch  then I ran idle from the console like so:
./python.exe Lib/idlelib/idle.py

For testing I used a simple print command to print to stderr:
sys.stderr.write(spam/n)

which I got the output of
spam/n6

I also tried to use the newer print function:
print(fatal error, file=sys.stderr)

Python 3.4 on the Mac behaved exactly the same way with or without the patch.  
I got the stderr output in the Python shell and nothing appeared in the 
console.  With the patch applied I saw no dialog box to capture the stderr 
output.  Maybe I didn't perform the test correctly?

Another thing to consider is for Mac IDLE runs in a special mode via 
macosxSupport.py which I turn on by forcing runningAsOSXApp() to always return 
True.  Even after setting runningAsOSXApp() to true a dialog box does not 
appear when writing to stderr.

Maybe I am not testing this patch correctly? Let me know if I can do anything 
else to help, thanks.

--

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



[issue18226] IDLE Unit test for FormatParagrah.py

2013-06-15 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +JayKrish

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



[issue18226] IDLE Unit test for FormatParagrah.py

2013-06-15 Thread Todd Rovito

New submission from Todd Rovito:

Continuing the IDLE unittest framework initiated in 
http://bugs.python.org/issue15392.

A small unit test for IDLE FormatParagraph.py. This patch introduces a test 
module named test_format_paragraph.py inside Lib/idlelib/idle_test, considering 
the guidance in README file from idle_test. I should have a patch uploaded by 
Monday 6/17/2013 night.

--
messages: 191242
nosy: Todd.Rovito, philwebster, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE Unit test for FormatParagrah.py
type: enhancement
versions: Python 2.7, Python 3.4

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



[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-11 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-11 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +philwebster

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



[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-11 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +terry.reedy

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



[issue18103] Create a GUI test framework for Idle

2013-05-31 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue18104] Idle: make human-mediated GUI tests usable

2013-05-31 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue7136] Idle File Menu Option Improvement

2013-05-29 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue7136] Idle File Menu Option Improvement

2013-05-29 Thread Todd Rovito

Todd Rovito added the comment:

Roger's patch works but the documentation has changed since he made the patch 
back in 2011.  So I patched the patch and hope this very simple patch will get 
committed.  I will work on a patch for 2.7 next.

Today I was teaching a student on how to use Python with IDLE and the student 
found the existing menu option confusing.  I was thrilled a patch already 
existed and it just needed updated.  Thanks!

--
versions: +Python 3.4 -Python 3.2
Added file: 
http://bugs.python.org/file30418/7136FileMenuConfusionV23point4.patch

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



[issue7136] Idle File Menu Option Improvement

2013-05-29 Thread Todd Rovito

Todd Rovito added the comment:

Same patch but for Python 2.7.5.  I just updated the documentation from Roger's 
excellent patch.

--
versions: +Python 2.7
Added file: 
http://bugs.python.org/file30419/7136FileMenuConfusionV22point7.patch

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



[issue16278] os.rename documentation slightly inaccurate

2013-05-26 Thread Todd Rovito

Todd Rovito added the comment:

Ping!!!

I have not heard anything about this patch so I wanted to ping it to get more 
feedback.  Thanks!

--

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



[issue17511] Idle find function closes after each find operation

2013-05-26 Thread Todd Rovito

Todd Rovito added the comment:

I was wondering does it make sense to commit this patch since it is similar to 
http://bugs.python.org/issue14146 then put the issue in the pending state as we 
wait for the TK/TCL fix?  It seems more consistent to me since this issue is 
basically the same highlight problem as 14146.  I imagine this is very 
bothersome for Windows users.

--

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



[issue5124] IDLE - pasting text doesn't delete selection

2013-05-26 Thread Todd Rovito

Todd Rovito added the comment:

I haver verified Roger's patch does indeed fix the problem on Linux CentOS 6.4 
with IDLE 3.4.

The Linux situation is complex.  Basically as I see it over the years pure X11 
applications are becoming extinct and most developers either use GTK (for 
GNOME) or QT (for KDE). I don't blame anybody for moving to one of these 
toolkits because writing a pure X11 application is painful.  In the near future 
Wayland http://en.wikipedia.org/wiki/Wayland_(display_server_protocol) will 
take over and I wonder how many X11 applications will actually be ported.  I 
agree with Roger we should try and make IDLE as consistent as possible across 
operating systems.  

+1 for applying the patch.

--

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



[issue15392] Create a unittest framework for IDLE

2013-05-26 Thread Todd Rovito

Todd Rovito added the comment:

Patch does indeed apply and I get good results!  The patch is well done and 
provides a nice example on how to write unit tests.
+1 for making the commit from me

R. David Murray you used the patch command while I used hg import --no-commit 
mywork.patch as specified in the Python Developers Guide.  Next time I have an 
issue I will use patch and see if it works better.

--

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



[issue2053] IDLE - standardize dialogs

2013-05-26 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue5124] IDLE - pasting text doesn't delete selection

2013-05-25 Thread Todd Rovito

Todd Rovito added the comment:

What is standard in other linex and mac apps?
-On Mac OS X 10.8.3 TextEdit I get the replacement behavior
-On Linux CentOS 6.4 gedit I get the replacement behavior
-On IDLE under the latest 3.4 pull I get the replacement behavior with Max OS X 
10.8.3
-On IDLE under the latest 3.4 pull I get the eggsspam behavior with Linux 
CentOS 6.4 as Weeble described in the original bug report

So from my perspective Linux is behaving differently than Windows and Mac OS X.

--

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



[issue15392] Create a unittest framework for IDLE

2013-05-18 Thread Todd Rovito

Todd Rovito added the comment:

I still have the same problem with the patch it will not apply for me on Python 
3.4.  Based on Ezio's suggestion I used hg verify where I got three warnings 
unrelated to IDLE, but just to make sure I did a brand new checkout.  Even 
after a new checkout the patch failed to apply.  Then I tried on my CentOS 6.4 
box and the patch would not apply.  I am wondering has anybody else tried to 
apply this patch on a Mac OS X or Linux machine and had it work?  I still admit 
I could be doing something stupid.

No idea where to go from here...I might try this on Windows which I think is 
the system Terry is using because I noticed the file has Ctrl M at the end of 
the lines.

--

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



[issue15392] Create a unittest framework for IDLE

2013-05-14 Thread Todd Rovito

Todd Rovito added the comment:

Terry I think you have a typo you mean PEP434 
(http://www.python.org/dev/peps/pep-0434/) where PEP343 exists.  Can you please 
confirm?

--

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




[issue15392] Create a unittest framework for IDLE

2013-05-14 Thread Todd Rovito

Todd Rovito added the comment:

Terry,
   On my Mac with hg revert -a and hg pull -u the patch fails to apply on 
CallTips.py and PathBrowser.py under the latest version of Python 3.4.  Here is 
the output when I try to apply the patch:

rovitotv-pc:py34 rovitotv$ hg import --no-commit 
/Volumes/SecurePython3/source/15392idletests.diff 
applying /Volumes/SecurePython3/source/15392idletests.diff
patching file Lib/idlelib/CallTips.py
Hunk #1 FAILED at 263
1 out of 1 hunks FAILED -- saving rejects to file Lib/idlelib/CallTips.py.rej
patching file Lib/idlelib/Itest/@template.txt
patching file Lib/idlelib/Itest/__init__.py
patching file Lib/idlelib/Itest/test_calltips.py
patching file Lib/idlelib/Itest/test_pathbrowser.py
patching file Lib/idlelib/PathBrowser.py
Hunk #1 FAILED at 94
1 out of 1 hunks FAILED -- saving rejects to file Lib/idlelib/PathBrowser.py.rej
patching file Lib/test/test_idle.py
adding Lib/idlelib/Itest/@template.txt
adding Lib/idlelib/Itest/__init__.py
adding Lib/idlelib/Itest/test_calltips.py
adding Lib/idlelib/Itest/test_pathbrowser.py
adding Lib/test/test_idle.py
abort: patch failed to apply
 
I even tried using the tr command to remove the ^M characters from the .diff 
file and that still didn't allow me to apply the patch.  Maybe it is my 
setup???  It is late here so I am going to bed but will play with it some more 
tomorrow.  Thanks for your hard work, the patch looks like a good start. Thanks!

--

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



[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-05-12 Thread Todd Rovito

Todd Rovito added the comment:

Roger,
If you and Terry tested I would apply now so it makes it into 2.7.5.  Why 
not?  Right now the debugger in Windows doesn't highlight and I am sure that 
has to drive people crazy.  But if you feel it needs more testing maybe you 
should let it bake some more?

--

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



[issue17883] Fix buildbot testing of Tkinter

2013-05-06 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue15392] Create a unittest framework for IDLE

2013-05-05 Thread Todd Rovito

Todd Rovito added the comment:

This issue appears like it is making progress.  For a very small contribution I 
tested JayKrish's patch and it seems to work on my Mac. The results are 
documented below.  Any comment from Python Core Developers on what needs to 
happen to get it committed? It appears to work with -m test and -v test_idle.  
Thanks! 

/python.exe -m test -v test_idle
== CPython 3.4.0a0 (default:186cf551dae5+, May 5 2013, 22:41:07) [GCC 4.2.1 
Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))]
==   Darwin-12.3.0-x86_64-i386-64bit little-endian
==   /Volumes/SecurePython3/cpython/py34/build/test_python_15812
Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, 
dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, 
verbose=0, bytes_warning=0, quiet=0, hash_randomization=1)
[1/1] test_idle
test_DirBrowserTreeItem (test.test_idle.test_PathBrowser.PathBrowserTest) ... ok

--
Ran 1 test in 0.000s

OK
1 test OK.

--

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



[issue7951] Should str.format allow negative indexes when used for __getitem__ access?

2013-04-19 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue17642] IDLE add font resizing hot keys

2013-04-19 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue7951] Should str.format allow negative indexes when used for __getitem__ access?

2013-04-19 Thread Todd Rovito

Todd Rovito added the comment:

Here is a simple patch that simply explains negative indexes and negative 
slices are not supported for the string format documentation.  Perhaps more 
documentation needs to be created else where to help explain why all 
collections do not need to support negative indexes and negative slices? If so 
please let me know and I will create it.  But I think this patch at least 
clarifies for the use case of String format.

--
keywords: +patch
versions: +Python 3.4 -Python 3.2
Added file: 
http://bugs.python.org/file29948/7951NegativeIndexesForStringFormat3dot4.patch

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



[issue17721] Help button on preference window doesn't work

2013-04-17 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue17532] IDLE: Always include Options menu on MacOSX

2013-04-17 Thread Todd Rovito

Todd Rovito added the comment:

I tested the patch on OS X 10.8 and it works perfect!!!

Thanks Guilherme.

--

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



[issue17776] IDLE Internationalization

2013-04-17 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue1207589] IDLE: Right Click Context Menu

2013-04-07 Thread Todd Rovito

Todd Rovito added the comment:

Very strange but I noticed the right click menu is not working on Mac OS X.  
Before and after Roger's latest backwards_compat.patch.  I must be losing my 
mind but I thought this was working on OS X. The right click activation I am 
trying is control-click and I am running 10.8.3.  

Should I file a separate bug report for this issue?

--

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



[issue1207589] IDLE: Right Click Context Menu

2013-04-07 Thread Todd Rovito

Todd Rovito added the comment:

No problem I will open a separate issue.  Hopefully it is a mistake on my end 
and I have something dorked up.

--

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



[issue17654] IDLE: Right click menu not working on OS X

2013-04-07 Thread Todd Rovito

New submission from Todd Rovito:

IDLE's new right click menu doesn't seem to be working on Mac OS X.  I am 
running OS X 10.8.3 with TK version 8.5.9 (which I think is what OS X 10.8.3 
ships with). The right click activation I am trying is control-click.

--
components: IDLE
messages: 186257
nosy: Todd.Rovito, ned.deily, roger.serwy
priority: normal
severity: normal
status: open
title: IDLE: Right click menu not working on OS X
type: behavior
versions: Python 2.7, Python 3.4

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



[issue17657] IDLE: about dialog should report the full version of TK

2013-04-07 Thread Todd Rovito

New submission from Todd Rovito:

The IDLE about dialog does not report the full version of TK.  For instance it 
will report 8.5 and not report the last minor version number such as 8.5.9. 
 On the Mac OS X this is problematic (but it could be a problem on other 
platforms) because Apple ships their own version of TK which is known to be 
buggy.  For bug reporting purposes IDLE should report the full version of TK 
which could help diagnose bugs.

--
components: IDLE
messages: 186266
nosy: Todd.Rovito
priority: normal
severity: normal
status: open
title: IDLE: about dialog should report the full version of TK
type: behavior
versions: Python 2.7, Python 3.4

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



[issue17657] IDLE: about dialog should report the full version of TK

2013-04-07 Thread Todd Rovito

Todd Rovito added the comment:

Attached is a patch the works for both Python 3.4 and Python 2.7.  I have 
tested this patch on OS X and Windows.  The code actually came from 
macosxSupport.py function tkVersionWarning.

--
keywords: +patch
Added file: 
http://bugs.python.org/file29724/17657IDLEAboutDialogReportFullVersionOfTK.patch

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



[issue17657] IDLE: about dialog should report the full version of TK

2013-04-07 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +ned.deily, roger.serwy, terry.reedy

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



[issue17511] Idle find function closes after each find operation

2013-04-07 Thread Todd Rovito

Todd Rovito added the comment:

I am in support of letting the find dialog remain open, and possibly 
relabeling the button to say find next instead.
+1 from me, it drives me nuts to have the dialog close every time a single 
world is found.  I like the find dialog box open then I just escape when I want 
it closed.  

In addition Sarah's patch works well on Mac OS X and Windows.  It is 
fascinating that Sarah found a way to make the high-lighting work even on 
Windows, I wonder if we could use this technique to fix the debugging problem?  
As of today I have not heard anything the TK folks since I filed that bug 
report.

--

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



[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-04-04 Thread Todd Rovito

Todd Rovito added the comment:

I posted this message on tinter discuss email list:
http://mail.python.org/pipermail/tkinter-discuss/2013-March/003415.html

--

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



[issue17609] IDLE: Remove config option 'editor on startup' and utilize command line options only

2013-04-02 Thread Todd Rovito

Todd Rovito added the comment:

Thanks for the feedback I am good with closing but want to check with Roger 
because he suggested that we open a new issue to discuss.

--

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



[issue17609] IDLE: Remove config option 'editor on startup' and utilize command line options only

2013-04-02 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
resolution:  - rejected
status: open - closed

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



[issue6698] IDLE no longer opens only an edit window when configured to do so

2013-04-01 Thread Todd Rovito

Todd Rovito added the comment:

Roger,
   Yes I will add another issue covering the enhancement.

Ned,
   Thanks for the review.  I forgot to mention it but I too tested on the Mac 
:-).

--

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



[issue17609] IDLE: Remove config option 'editor on startup' and utilize command line options only

2013-04-01 Thread Todd Rovito

New submission from Todd Rovito:

Based on enhancements from this issue:
http://bugs.python.org/issue6698

Comments from Tal Einat

The editor-on-startup config option should be removed. Running IDLE without 
arguments should open a shell. If IDLE is asked to open any files for editing, 
it should open just editor windows. IDLE should open both a shell window and 
one or more editor windows only when explicitly asked to do so on the command 
line.

If this is done, the -e option (open an editor) would tell IDLE to open an 
empty editor window if no files are asked to be opened for editing. If no other 
arguments are given, IDLE will open just an editor window (no shell window). 
The -i option (open a shell) would tell IDLE to open a shell window even if 
asked to open files for editing.

I think this is more obvious and easier to work with. It will also make the 
command line argument processing code simpler. And as a bonus we remove a 
config option :)

I will also post on idle-dev for discussion as Terry Reedy requested.

--
components: IDLE
messages: 185731
nosy: Todd.Rovito, roger.serwy, taleinat, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: Remove config option 'editor on startup' and utilize command line 
options only
type: enhancement
versions: Python 3.4

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



[issue16893] Create IDLE help.txt from Doc/library/idle.rst

2013-04-01 Thread Todd Rovito

Todd Rovito added the comment:

Ned,
   Using a web browser is a great idea  I like it because it removes code 
from IDLE making IDLE even simpler (and better).  Besides it would take us 
forever to duplicate some of the functionally that exists in today's modern web 
browser.  

Zach,
   What do you think?

Terry,
   What is this paper technology that you speak of?  A youtube video showing 
off IDLE would be fantastic.

--

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



[issue17613] IDLE error

2013-04-01 Thread Todd Rovito

Todd Rovito added the comment:

Raymond,
   Is then when you simply startup IDLE or are you opening a Python file to 
edit? The only reason why I ask about editing a file is because ColorDelegator 
is used to by the EditorWindow to perform the syntax hi-lighting (I think).  I 
have a few Macs so I can try and duplicate.  In addition I added a few people 
to the nosy list that might know better than I do what the problem is.  Thanks 
for the report.

--
nosy: +Todd.Rovito, ned.deily, roger.serwy, terry.reedy

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



[issue17583] IDLE HOWTO

2013-04-01 Thread Todd Rovito

Todd Rovito added the comment:

Sorry about using the wrong word, I should of used HowTo not FAQ.  I really 
meant to suggest replacing guide with the word HowTo.  A HowTo would be 
perfect  Sorry about the confusion.  Thanks again.

--

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



[issue16887] IDLE - tabify/untabify applied when clicking Cancel

2013-04-01 Thread Todd Rovito

Todd Rovito added the comment:

Roger,
  I tested the patch and it does seem to function as you describe so feel free 
to apply the patch.  The tabify function makes me scratch my head a little, 
according to help.txt:
Tabify Region   -- Turns *leading* stretches of spaces into tabs
(Note: We recommend using 4 space blocks to indent Python code.)

Yet this code doesn't seem to get tabifyed.
a=[1,2,3,4,5]
for i in range(0, len(a)):
 print(%d % a[i])

I would expect that the print statement be tabbed in but on my Mac it does not 
seem to do that it just puts back in the single space in front of the print.  
This might be a separate issue but I was wondering if perhaps I misunderstand 
the purpose of this function?

--

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



[issue17583] IDLE HOWTO

2013-03-31 Thread Todd Rovito

Todd Rovito added the comment:

Yes I missed the link sorry.  Can you add the rst file to Doc/faq in the tip of 
the repository then do a hg diff and post the patch as an attachment to this 
issue?  At that point I will review and send any changes or edits with the 
review system.  Others can suggest changes as well.

--

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



[issue16887] IDLE - tabify/untabify applied when clicking Cancel

2013-03-31 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-31 Thread Todd Rovito

Todd Rovito added the comment:

Roger,
  You are a genius!  The example program duplicates the bug exactly.  It 
works on Mac (I assume Linux but I will test on Linux) and it does not work on 
correctly on Windows.  On Windows as soon as the text widget looses focus then 
the hi-light disappears.  I will use this code and file a bug report for TCL/TK 
and post on the tkinter mailing list.  Thank you I was stuck.

--

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



[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-31 Thread Todd Rovito

Todd Rovito added the comment:

Bug report has been filed with Tk here:
https://sourceforge.net/tracker/?func=detailaid=3609608group_id=12997atid=112997

--

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



[issue17583] IDLE HOWTO

2013-03-31 Thread Todd Rovito

Todd Rovito added the comment:

Ezio,
   I left a few comments on rietveld.  This is a really nice start to a great 
FAQ.  Thanks for your contribution I think Python needs a nice FAQ on IDLE.  
You might want to add some detail about the right click menu which allows a 
user to cut, copy, paste, and set breakpoints.  I think a section on the 
debugger would be excellent.

--

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



[issue6698] IDLE no longer opens only an edit window when configured to do so

2013-03-31 Thread Todd Rovito

Todd Rovito added the comment:

Roger,
  I reviewed and tested the patch, it does seem to fix the bug.  Now when the 
on startup configure option is selected IDLE will behave as expected.  I think 
this makes sense to fix the bug even though it is not documented we can infer 
the behavior based on the configuration dialog box.  Tal's suggestion makes 
sense but this is for sure an enhancement.  Please feel free to push the patch 
at your earliest convenience.

--

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



[issue16893] Create IDLE help.txt from Doc/library/idle.rst

2013-03-31 Thread Todd Rovito

Todd Rovito added the comment:

I added roger.serwy to the nosy list.  Terry Reedy is already on the list.  I 
think this issue will help maintain the IDLE documentation now and in the 
future. Right now it has to manually be synced between help.txt and idle.rst. 
Only Python 3.4 is synced right now based on this issue:
http://bugs.python.org/issue5066
  
Zach has done a great job working the issue so I think it should be committed.

--
nosy: +roger.serwy

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



[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-30 Thread Todd Rovito

Todd Rovito added the comment:

Here is a backtrace from PDB:

- self.sync_source_line()
  
/Volumes/SecurePython3/cpython/py34/Lib/idlelib/Debugger.py(211)sync_source_line()
- self.flist.gotofileline(filename, lineno)
  /Volumes/SecurePython3/cpython/py34/Lib/idlelib/FileList.py(46)gotofileline()
- edit.gotoline(lineno)
 /Volumes/SecurePython3/cpython/py34/Lib/idlelib/EditorWindow.py(694)gotoline()
- self.center()

The offending code seems to be in EditorWindow.py:gotoline()

def gotoline(self, lineno):
if lineno is not None and lineno  0:
self.text.mark_set(insert, %d.0 % lineno)
self.text.tag_remove(sel, 1.0, end)
self.text.tag_add(sel, insert, insert +1l)
self.center()

Next I am going to write a small program to try and reproduce the bug so I can 
file with the TCL/TK folks.

--

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



[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-30 Thread Todd Rovito

Todd Rovito added the comment:

I created a small test program trying to reproduce the problem on Windows 7, 
Python 3.4, and TK 8.6.  Unfortunately it works fine and each line is 
highlighted as a user presses ctrl-B.  I got the select code straight from 
IDLE.  Any other ideas Roger?  This might be an IDLE bug after all.

from tkinter import *

class SelectTest:
def __init__(self):
self.mainwin = Tk()
# Create a text widget
# idle creates the text widget like this
#self.text = text = MultiCallCreator(Text)(text_frame, **text_options)
self.textbox = Text(self.mainwin, width=80, height=10)
self.textbox.pack()

# Add some text
self.textbox.insert(INSERT, line 1: Select some text\n)
self.textbox.insert(INSERT, line 2: Select some text\n)
self.textbox.insert(INSERT, line 3: Select some text\n)
self.textbox.insert(INSERT, line 4: Select some text\n)

# Add the binding
self.textbox.bind(Control-Key-b, self.select_just_like_idle)
# just in case caps lock is on
self.textbox.bind(Control-Key-B, self.select_just_like_idle)
self.lineno = 1

def select_just_like_idle(self, event):
print(Select just like idle was called)
if self.lineno is not None and self.lineno  0:
self.textbox.mark_set(insert, %d.0 % self.lineno)
self.textbox.tag_remove(sel, 1.0, end)
self.textbox.tag_add(sel, insert, insert +1l)
self.lineno = self.lineno + 1


if __name__ == __main__:
# Start the program
selectIDLETest = SelectTest()
selectIDLETest.mainwin.mainloop()

--

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



[issue17583] IDLE HOWTO

2013-03-30 Thread Todd Rovito

Todd Rovito added the comment:

I think it is a great idea.

The Python documentation is written with restructured text.  See the Python 
Developer's Guide here:
http://docs.python.org/devguide/documenting.html

Restructured text is not difficult please let me know if you need help I would 
be glad to assist.

What you have is a good start but it will have to be reformatted then submitted 
as a patch so it can be committed.  In addition you have to complete a Python 
Contributor Agreement.  Please spend a little time looking over the Python 
Developer's Guide.  Thanks.

--
nosy: +Todd.Rovito

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



[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-29 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-29 Thread Todd Rovito

Todd Rovito added the comment:

I was going to try Python 3.4 and TK 8.6 on Windows and see what happens.

--

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



[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-29 Thread Todd Rovito

Todd Rovito added the comment:

I tried both TCL/TK 8.5.13 and TCL/TK 8.6 with the latest Python 3.4 on Windows 
7 the editor window never showed a line as I stepped through the debugger.  I 
am going to try in Mac/Linux to make sure I am not crazy that a line in the 
editor window does indicate where the debugger is.  Then I intend to look in 
the bug tracker on TCL/TK and possibly post a question for help.  On Windows 
the initial line does look funny on a line with a quoted string such as 
print(hello world) the yellow does not cover the quoted string.

--

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



[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-29 Thread Todd Rovito

Todd Rovito added the comment:

Before I forget here are the general steps I followed to get TCL/TK 8.5.13 and 
8.6 to work.  For TCL/TK 8.6 I had to change the actual Visual Studio 2010 
project. 

Generally you have to follow the steps in readme.txt located in PCBuild of the 
source tree.  readme.txt references a file Tools\buildbot\external.bat which 
has the step by step instructions on how to build TCL/TK.  Skip the part about 
going to svn.python.org/external because neither 8.6 or 8.5.13 have been added 
yet.  So I downloaded the code from the sourceforge.net TCL/TK site.  This post 
explains a step that must be performed which is not documented in any of the 
references above:
http://mail.python.org/mailman/private/core-mentorship/2013-March/001593.html

Finally for TCL/TK 8.6 I had to change the visual studio project to use the 
right .lib file for TCL/TK.  Start Visual Studio 2010 right click _tkinter 
project then select properties.  Under the Linker/Input option set Additional 
Dependencies to c:\prog\cpython\tcltk\lib\tcl86tg.lib and 
c:\prog\cpython\tcltk\lib\tk86tg.lib

erase the old values.  Now rebuild and everything should just work (c) don't 
forget to manually copy the DLL files to the PCBuild directory.

--

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



[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-29 Thread Todd Rovito

Todd Rovito added the comment:

I have confirmed that Linux and Mac work great but Windows fails to highlight 
the current line in the editor window.  Next I will try and find/file a bug 
with the TCL/TK folks.

--

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



[issue13802] IDLE Prefernces/Fonts: use multiple alphabets in examples

2013-03-25 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +roger.serwy

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



[issue6699] IDLE: Warn user about overwriting a file that has a newer version on filesystem

2013-03-25 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue4630] IDLE: add cursor noblink option

2013-03-25 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue10079] idlelib for Python 3 with Guilherme Polo GSoC enhancements

2013-03-25 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10079
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://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.

2013-03-24 Thread Todd Rovito

Todd Rovito added the comment:

I got the extension from Roger Serwy's IDLEX, it is one of my favorite 
extensions.  In addition to adding the extension I updated the documentation 
both idle.rst and help.txt.  Finally I tested the patch on Mac OS X and it 
works great.  This patch is for 3.4 but it does work with 2.7 but the 
documentation for 2.7 is not synced.  Thanks.

--
keywords: +patch
Added file: http://bugs.python.org/file29567/17535IDLELineNumbers3dot4.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17535
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://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.

2013-03-24 Thread Todd Rovito

Todd Rovito added the comment:

For this patch to work correctly the option menu must be present so issue 17532 
http://bugs.python.org/issue17532 has to be resolved.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17535
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://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.

2013-03-24 Thread Todd Rovito

Todd Rovito added the comment:

The NCSA license is very permissive I would be surprised if the PSF didn't 
accept it since both are BSD based.  Needless to say I am not a lawyer and I am 
not sure who to speak with about this issue.  

I was able to find some precedence with the PEP 3146 which proposed the merging 
of Unladen Swallow with CPython.  Unladen Swallow used LLVM which also used the 
NCSA license.  But the merge never happened so I don't know what to think.  

Does this mean all the extensions from IDLEX are under NCSA license even 
Terminal.py?

I am flexible please let me know how you want to proceed

--

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



[issue694339] IDLE: Dedenting with Shift+Tab

2013-03-24 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue1207613] Bottom Scroll Bar

2013-03-24 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue17511] Idle find function closes after each find operation

2013-03-23 Thread Todd Rovito

Changes by Todd Rovito rovit...@gmail.com:


--
nosy: +Todd.Rovito

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



[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2013-03-23 Thread Todd Rovito

Todd Rovito added the comment:

No problem Roger.  I have attached a new patch for documentation updates to 
both the IDLE help.txt file and idle.rst for the Terminal extension.  Would it 
be helpful if I did a diff on the idleX Terminal.py with your original patch?  
In addition to doing the patch I can also perform some more testing.  Please 
let me know what I can do to support you getting this patch committed. Thanks.

--
Added file: 
http://bugs.python.org/file29557/2704IDLEMakeShellBehaveLikeTerminaliDocumentationUpdateFor3dot4.patch

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



  1   2   >