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

2013-05-26 Thread Guilherme Simões

Guilherme Simões added the comment:

I think IDLE should ignore general X11 practice. I used Linux for years and 
have never seen this behavior before because almost all programs behave in the 
Mac/Windows way.

--
nosy: +Guilherme.Simões

___
Python tracker 
<http://bugs.python.org/issue5124>
___
___
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 Guilherme Simões

Guilherme Simões added the comment:

IDLE is widely used by students and should have its most relevant settings 
available in the GUI also.

--
nosy: +Guilherme.Simões

___
Python tracker 
<http://bugs.python.org/issue17609>
___
___
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-13 Thread Guilherme Simões

New submission from Guilherme Simões:

The Help button on the Preferences windows does not do anything. Maybe I can 
fix it, but I don't know what it was supposed to do in the first place. For now 
it probably should be removed.

--
components: IDLE
messages: 186775
nosy: Guilherme.Simões
priority: normal
severity: normal
status: open
title: Help button on preference window doesn't work
type: behavior
versions: Python 3.4

___
Python tracker 
<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-16 Thread Guilherme Simões

Guilherme Simões added the comment:

I tested the extensions in MacOS and they seem to work (even the Terminal 
Mode). The Options menu appear and everything seems to be fine.

The patch attached removes the Configure entry from the Options menu because 
this entry is already in the application menu as "Preferences". It also 
includes the Options menu in editor windows even without extensions, allowing 
the use of Code Context.

--
keywords: +patch
nosy: +Guilherme.Simões
Added file: http://bugs.python.org/file29893/17532MenuOptions.patch

___
Python tracker 
<http://bugs.python.org/issue17532>
___
___
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 Guilherme Simões

Guilherme Simões added the comment:

I actually removed something I shouldn't have in the first patch so I'm 
attaching a new one.

--
Added file: http://bugs.python.org/file29899/17532MenuOptions-1.patch

___
Python tracker 
<http://bugs.python.org/issue17532>
___
___
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-18 Thread Guilherme Simões

Guilherme Simões added the comment:

Hi Roger,

I just signed the contributor agreement. Unfortunately, I can't test on older 
MacOS versions, but I also think it should work.

--

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



[issue17820] Nothing about editors in "Key Resources"

2013-04-22 Thread Guilherme Simões

New submission from Guilherme Simões:

In devguide/setup#editors-and-tools we have:

"For editors and tools which the core developers have felt some special comment 
is needed for coding in Python, see Key Resources."

Since emacs and other tools are mentioned in "Additional Resources" instead I 
think the link to "Key Resources" should be replaced by a link to "Additional 
Resources".

--
components: Devguide
messages: 187604
nosy: Guilherme.Simões, Todd.Rovito, eric.araujo, ezio.melotti, georg.brandl
priority: normal
severity: normal
status: open
title: Nothing about editors in "Key Resources"
type: behavior

___
Python tracker 
<http://bugs.python.org/issue17820>
___
___
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-23 Thread Guilherme Simões

Guilherme Simões added the comment:

I didn't restore the menu in the shell window because it would be empty then. 
Perhaps a better alternative is to automatically remove any empty menu. That 
way if someone inserted a new option in the menu in the future it would show 
automatically in the MacOS version.

--

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



[issue17822] Save on Close windows (IDLE)

2013-04-23 Thread Guilherme Simões

New submission from Guilherme Simões:

After changing the contents of a file in an Editor Window and closing without 
saving the "Save on Close" window pops up. On both MacOS and Linux the user 
can't do anything on the Editor Window anymore, but on Windows, not only can 
the user continue to write it is possible to try to close the window again. 
Each time the user attempts to close the editor the "Save on Close" window 
appears one more time.

Also, when you have 2 such windows if you say 'no' then,no matter what the 
answer to the second window is, IDLE crashes.

I'm not sure but this seems to me to be a Tk problem. Attached is a simple 
script that works completely different on different systems showing that this 
is probably a Tkinter or Tk bug.

I tested this on Mac with Python 2.7, 3.3, 3.4 and Tk 8.5.13. On Linux I tested 
with Python 3.2 and Tk 8.5.11 and on Windows with Python 3.3 and Tk 8.5.11.

--
components: IDLE, Tkinter, Windows
files: askyesnocancel.py
messages: 187641
nosy: Guilherme.Simões, Todd.Rovito, gpolo, roger.serwy, terry.reedy
priority: normal
severity: normal
status: open
title: Save on Close windows (IDLE)
type: crash
versions: Python 3.3
Added file: http://bugs.python.org/file29992/askyesnocancel.py

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



[issue17822] Save on Close windows (IDLE)

2013-04-23 Thread Guilherme Simões

Guilherme Simões added the comment:

>From what I could see the problem is that in MacOS askyesnocancel stops the 
>user from interacting with all windows and in Windows it stops the interaction 
>only in the root window (even when the parameter 'master' is used, as is the 
>case in IDLE). Since the root window in IDLE is hidden askyesnocancel doesn't 
>do anything.

--

___
Python tracker 
<http://bugs.python.org/issue17822>
___
___
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-23 Thread Guilherme Simões

Guilherme Simões added the comment:

Since extensions are probably going to be included into IDLE soon I'm attaching 
a version of the patch that also changes PyShell.py.

--
Added file: http://bugs.python.org/file3/17532MenuOptions-2.patch

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



[issue17838] Can't assign a different value for sys.stdin in IDLE

2013-04-24 Thread Guilherme Simões

New submission from Guilherme Simões:

Something like:

sys.stdin = open('file')

works in Python but doesn't in the IDLE shell. After trying to do that, a 
dialog is open asking if the user wants to kill the program. This happens 
because the method "close" of the class "PseudoInputFile" (which was created in 
#17585) is called.

--
components: IDLE
messages: 187759
nosy: Guilherme.Simões
priority: normal
severity: normal
status: open
title: Can't assign a different value for sys.stdin in IDLE
type: behavior
versions: Python 3.4

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



[issue17838] Can't assign a different value for sys.stdin in IDLE

2013-04-24 Thread Guilherme Simões

Changes by Guilherme Simões :


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

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



[issue17838] Can't assign a different value for sys.stdin in IDLE

2013-04-25 Thread Guilherme Simões

Guilherme Simões added the comment:

I forgot to say I tested this in MacOS in the development version. It shouldn't 
happen in earlier versions because the method "close" of the class 
"PseudoInputFile" is not there. A quick fix to this bug would be to just remove 
this method, but then #17585 would have to be reopened.

--

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



[issue17838] Can't assign a different value for sys.stdin in IDLE

2013-04-25 Thread Guilherme Simões

Guilherme Simões added the comment:

Roger, I was running with a subprocess but I tried without one and now it works.

--

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



[issue16177] IDLE Crash on Open Parens

2013-04-25 Thread Guilherme Simões

Guilherme Simões added the comment:

I couldn't confirm this bug in versions 2.7, 3.3 or 3.4 on the Mac even while 
using the same user configuration.

--
nosy: +Guilherme.Simões

___
Python tracker 
<http://bugs.python.org/issue16177>
___
___
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-26 Thread Guilherme Simões

Guilherme Simões added the comment:

Attached is a patch that removes the Help button from the Preferences window.

Maybe it would be nice to have the Help button open a text file describing 
every possible option, but while this doesn't happen it is better to remove 
this button.

--
keywords: +patch
Added file: http://bugs.python.org/file30024/Issue17721.patch

___
Python tracker 
<http://bugs.python.org/issue17721>
___
___
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-30 Thread Guilherme Simões

Guilherme Simões added the comment:

Hi, Terry!

I already signed the Contributor License Agreement Form.

Attached is a new patch with the buttons commented out and a small comment 
explaining why I did that. I hope the patch is better now.

--
Added file: http://bugs.python.org/file30078/Issue17721-1.patch

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



[issue17822] Save on Close windows (IDLE)

2013-04-30 Thread Guilherme Simões

Guilherme Simões added the comment:

I didn't test Roger's patch because I have limited access to Windows, but I 
think it should solve this specific issue.

But the problem is actually more general. For example, the same odd behavior 
happens when you try to run a module without saving. On MacOS one modal dialog 
pops up, but in Windows you can open as many dialogs as you want.

--

___
Python tracker 
<http://bugs.python.org/issue17822>
___
___
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-19 Thread Guilherme Simões

Changes by Guilherme Simões :


--
nosy: +Guilherme.Simões

___
Python tracker 
<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-20 Thread Guilherme Simões

Guilherme Simões added the comment:

I'm having the same problem as Todd when I apply the patch in my Mac... I have 
no idea why though.

--

___
Python tracker 
<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-21 Thread Guilherme Simões

Guilherme Simões added the comment:

Now I can apply the patch successfully and everything seems to be working. 
Thanks, Terry.

--

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