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

2009-08-13 Thread Guilherme Polo
New submission from Guilherme Polo : Creating this issue to address a suggestion of a new IDLE feature pointed out on issue 1721083. The feature in question is about warning the user about a newer version of the file before overwriting it. -- components: IDLE files: check_stmtime.diff

[issue1721083] Add File - Reload

2009-08-13 Thread Guilherme Polo
Guilherme Polo added the comment: Kurt, there is now a patch on issue 6699 which adds your suggested feature: "Adding a warning when saving that the file has changed on disk is a good emacs feature which has saved my bacon a number of times. That would be a good feature to add to IDLE

[issue6702] Tkinter: modify xview of entry widget

2009-08-14 Thread Guilherme Polo
Guilherme Polo added the comment: Please take a look on issue6180. Closing this as duplicate. Also consider checking the issue 1135, your comments are welcome on both issues and may help getting the fix committed. -- nosy: +gpolo resolution: -> duplicate status: open ->

[issue3344] IDLE - use enumerate instead of zip(count(), ...)

2009-08-14 Thread Guilherme Polo
Guilherme Polo added the comment: Committed on r74446, will merge into py3k. -- resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue3926] Idle doesn't obey the new improved warnings arguements

2009-08-14 Thread Guilherme Polo
Guilherme Polo added the comment: Committed on r74447, will merge into py3k. -- resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue1135] xview/yview of Tix.Grid is broken

2009-08-14 Thread Guilherme Polo
Guilherme Polo added the comment: This has been commited on r74448 now, will merge into py3k. -- resolution: -> accepted status: open -> closed versions: +Python 2.7, Python 3.2 -Python 2.5, Python 2.6 ___ Python tracker <http://bugs.p

[issue6180] Tkinter.Entry: fix for xview and some doc clarifications

2009-08-14 Thread Guilherme Polo
Guilherme Polo added the comment: This is now obsolete since r74448 and r74449, closing. -- status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue1135] xview/yview of Tix.Grid is broken

2009-08-14 Thread Guilherme Polo
Guilherme Polo added the comment: > This has been commited on r74448 now, will merge into py3k. py3k: r74450 -- ___ Python tracker <http://bugs.python.org/iss

[issue3926] Idle doesn't obey the new improved warnings arguements

2009-08-14 Thread Guilherme Polo
Guilherme Polo added the comment: > Committed on r74447, will merge into py3k. py3k: r74450 -- ___ Python tracker <http://bugs.python.org/issue3926> ___ _

[issue3344] IDLE - use enumerate instead of zip(count(), ...)

2009-08-14 Thread Guilherme Polo
Guilherme Polo added the comment: > Committed on r74446, will merge into py3k. py3k: r74450 -- ___ Python tracker <http://bugs.python.org/issue3344> ___ _

[issue6244] Support for tcl 8.6

2009-08-16 Thread Guilherme Polo
Guilherme Polo added the comment: This has been committed now, r74471,74472 (trunk) and r74473 (py3k). -- resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue1119673] ScrolledText allows Frame.bbox to hide Text.bbox

2009-08-18 Thread Guilherme Polo
Guilherme Polo added the comment: This has been fixed on r74507 now. -- resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue1250469] Tix: PanedWindow.panes nonfunctional

2009-08-18 Thread Guilherme Polo
Guilherme Polo added the comment: Fix has been committed on r74508. -- resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue1259434] Tix CheckList 'radio' option cannot be changed

2009-08-18 Thread Guilherme Polo
Guilherme Polo added the comment: Committed on r74509. -- resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue1522587] Tix.Grid patch

2009-08-18 Thread Guilherme Polo
Guilherme Polo added the comment: New constants and methods have been commited on r74510. I've added only the tix commands that are actually supported by tix. The fixes for some of the methods have been committed on r74511. -- resolution: -> accepted status: open -

[issue1356969] Tix.py class HList missing info_bbox, info_dragsite and info_dropsite

2009-08-18 Thread Guilherme Polo
Guilherme Polo added the comment: Committed on r74517. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue5961] Missing labelside option for Tix option menu (fix included)

2009-08-18 Thread Guilherme Polo
Guilherme Polo added the comment: Hi Cary, Where can I find the most up-to-date Tix manual ? Would it be http://tix.sourceforge.net/man/html/contents.htm ? I don't know much about Tix so maybe you can help me a bit here. Are all of these widget specific options considered as static optio

[issue1119673] ScrolledText allows Frame.bbox to hide Text.bbox

2009-08-18 Thread Guilherme Polo
Changes by Guilherme Polo : -- resolution: accepted -> fixed ___ Python tracker <http://bugs.python.org/issue1119673> ___ ___ Python-bugs-list mailing list Un

[issue1119673] ScrolledText allows Frame.bbox to hide Text.bbox

2009-08-18 Thread Guilherme Polo
Guilherme Polo added the comment: > This has been fixed on r74507 now. py3k branch: r74518. -- ___ Python tracker <http://bugs.python.org/issue1119673> ___ _

[issue1250469] Tix: PanedWindow.panes nonfunctional

2009-08-18 Thread Guilherme Polo
Guilherme Polo added the comment: py3k branch: r74518. -- resolution: accepted -> fixed ___ Python tracker <http://bugs.python.org/issue1250469> ___ ___ Py

[issue1259434] Tix CheckList 'radio' option cannot be changed

2009-08-18 Thread Guilherme Polo
Guilherme Polo added the comment: py3k branch: r74518. -- resolution: accepted -> fixed ___ Python tracker <http://bugs.python.org/issue1259434> ___ ___ Py

[issue1356969] Tix.py class HList missing info_bbox, info_dragsite and info_dropsite

2009-08-18 Thread Guilherme Polo
Guilherme Polo added the comment: py3k branch: r74518. -- ___ Python tracker <http://bugs.python.org/issue1356969> ___ ___ Python-bugs-list mailing list Unsub

[issue1356969] Tix.py class HList missing info_bbox, info_dragsite and info_dropsite

2009-08-18 Thread Guilherme Polo
Guilherme Polo added the comment: py3k branch: r74518. -- ___ Python tracker <http://bugs.python.org/issue1356969> ___ ___ Python-bugs-list mailing list Unsub

[issue1522587] Tix.Grid patch

2009-08-18 Thread Guilherme Polo
Guilherme Polo added the comment: py3k branch: r74518. -- resolution: accepted -> fixed ___ Python tracker <http://bugs.python.org/issue1522587> ___ ___ Py

[issue1356969] Tix.py class HList missing info_bbox, info_dragsite and info_dropsite

2009-08-18 Thread Guilherme Polo
Changes by Guilherme Polo : -- ___ Python tracker <http://bugs.python.org/issue1356969> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue5961] Missing labelside option for Tix option menu (fix included)

2009-08-18 Thread Guilherme Polo
Guilherme Polo added the comment: > That is the manual I am referencing and the last time I looked it was > the most recent. > Thanks for clarifying that. > I'm not to familiar with the Python port of Tix, but I am using the > command, label, state, and variable options a

[issue5961] Missing labelside option for Tix option menu (fix included)

2009-08-18 Thread Guilherme Polo
Changes by Guilherme Polo : -- resolution: -> fixed status: open -> closed type: feature request -> ___ Python tracker <http://bugs.python.o

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2009-08-19 Thread Guilherme Polo
Guilherme Polo added the comment: > If it's not a problem, then the invoker doesn't need to check the exit > code of setup.py. Suppose the _tkinter module failed to compile on a given system, how would you know if this is a problem or not ? setup.py would return 1 because it c

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2009-08-20 Thread Guilherme Polo
Guilherme Polo added the comment: Wouldn't be more interesting to add an option where you tell exactly which modules aren't expected to be compiled successfully ? If any modules besides those specified are not built, then setup.py returns 1. I, for instance, don't care if the _

[issue6746] ValueError raised by IDLE during tooltip open on 64-bit Centos 5.3

2009-08-20 Thread Guilherme Polo
Guilherme Polo added the comment: I can reproduce it here, unfortunately Tcl/Tk 8.5 isn't really supported by Python 2.5 and the changes required to get this fixed won't be backported. It was suggested backporting before and it was rejected. -- nosy: +gpolo resolution: -

[issue6746] ValueError raised by IDLE during tooltip open on 64-bit Centos 5.3

2009-08-20 Thread Guilherme Polo
Changes by Guilherme Polo : -- components: +Tkinter -IDLE ___ Python tracker <http://bugs.python.org/issue6746> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6746] ValueError raised by IDLE during tooltip open on 64-bit Centos 5.3

2009-08-20 Thread Guilherme Polo
Guilherme Polo added the comment: >> I can reproduce it here, unfortunately Tcl/Tk 8.5 isn't really supported >> by Python 2.5 and the changes required to get this fixed won't be >> backported. It was suggested backporting before and it was rejected. > > Than

[issue6739] IDLE window won't start or show up after assgining new key in options v2.5.2 and 3.1.1

2009-08-21 Thread Guilherme Polo
Guilherme Polo added the comment: Here is a patch that changes IDLE to refuse invalid key bindings. -- keywords: +patch nosy: +gpolo versions: +Python 2.6, Python 2.7, Python 3.2 Added file: http://bugs.python.org/file14761/tcl_validation.diff

[issue6739] IDLE window won't start or show up after assgining new key in options v2.5.2 and 3.1.1

2009-08-22 Thread Guilherme Polo
Guilherme Polo added the comment: Please, understand that the bug tracker is a place to provide help and not to seek for help. The c.l.p newsgroup (more on http://www.python.org/community/lists/) is a more appropriate place to continue this discussion. Nevertheless, the attached patch was

[issue6755] Patch: new method get_wch for ncurses bindings: accept wide characters (unicode)

2009-08-22 Thread Guilherme Polo
Changes by Guilherme Polo : -- nosy: +gpolo versions: -Python 2.6, Python 3.1 ___ Python tracker <http://bugs.python.org/issue6755> ___ ___ Python-bugs-list m

[issue6755] Patch: new method get_wch for ncurses bindings: accept wide characters (unicode)

2009-08-22 Thread Guilherme Polo
Guilherme Polo added the comment: Have you looked into issue700921 already ? It seems a lot of discussion was generated there, but no patches. -- ___ Python tracker <http://bugs.python.org/issue6

[issue700921] Wide-character curses

2009-08-22 Thread Guilherme Polo
Guilherme Polo added the comment: Closing this in favour of issue6755, it has been a long time since any discussion took place here that I believe it is better to continue somewhere else related to this. -- nosy: +gpolo ___ Python tracker <h

[issue700921] Wide-character curses

2009-08-22 Thread Guilherme Polo
Changes by Guilherme Polo : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue700921> ___ ___ Python-bugs-list mailing list Unsubscri

[issue6739] IDLE window won't start or show up after assgining new key in options v2.5.2 and 3.1.1

2009-08-22 Thread Guilherme Polo
Changes by Guilherme Polo : -- stage: needs patch -> type: performance -> behavior ___ Python tracker <http://bugs.python.org/issue6739> ___ ___ Pyth

[issue7526] tkinter menubutton underline behaviour varies between tkinter * and tkinter.ttk *

2009-12-24 Thread Guilherme Polo
Guilherme Polo added the comment: I get the same behavior while using ttk in wish8.5, so this is not related to the ttk.py module. But, after looking this sample you posted, it looks like you want something like this instead: from tkinter import Tk, Menu root = Tk() menu = Menu() root

[issue5163] tkinter.scrolledtext: new text is hidden after using insert()

2009-02-20 Thread Guilherme Polo
Guilherme Polo added the comment: Do you mean something like this: import Tkinter def insert(): text.insert('end', 'buh\n') text.see('end') text.after(100, insert) text = Tkinter.Text() text.pack(expand=True, fill='both', side='lef

[issue5333] os.kill() inconsistency

2009-02-20 Thread Guilherme Polo
Guilherme Polo added the comment: I lost the race, congrats Jean :P I was going to copy & paste part of the man page. -- nosy: +gpolo resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.python.

[issue5163] tkinter.scrolledtext: new text is hidden after using insert()

2009-02-21 Thread Guilherme Polo
Guilherme Polo added the comment: In this case I'm closing it. -- resolution: -> rejected status: open -> closed ___ Python tracker <http://bugs.python

[issue5193] Guarantee that Tkinter.Text.search returns a string

2009-03-06 Thread Guilherme Polo
Guilherme Polo added the comment: Fixed in r70218, I will be merging into the other branches still today. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue4792] PythonCmd in Modules/_tkinter.c should use the given "interp" parameter

2009-03-06 Thread Guilherme Polo
Guilherme Polo added the comment: I will be committing this but I'm afraid a test won't be added for it. Several people told me that creating multiple tcl interpreters (even if only one is active at some point) is problematic, specially in older tcl versions. So if someone can find a

[issue4792] PythonCmd in Modules/_tkinter.c should use the given "interp" parameter

2009-03-06 Thread Guilherme Polo
Guilherme Polo added the comment: Fixed in r70219. ___ Python tracker <http://bugs.python.org/issue4792> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5193] Guarantee that Tkinter.Text.search returns a string

2009-03-06 Thread Guilherme Polo
Guilherme Polo added the comment: Merges: r70220, r70221, r70222 ___ Python tracker <http://bugs.python.org/issue5193> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4792] PythonCmd in Modules/_tkinter.c should use the given "interp" parameter

2009-03-06 Thread Guilherme Polo
Guilherme Polo added the comment: Merges: r70220, r70221, r70222 -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue2638] tkSimpleDialog Window Flashing

2009-03-06 Thread Guilherme Polo
Guilherme Polo added the comment: Fixed in r70223 and r70225. Thanks for reporting. -- resolution: accepted -> fixed status: open -> closed versions: -Python 3.0 ___ Python tracker <http://bugs.python.org/

[issue5450] test_tcl testLoadTk fails if DISPLAY defined but connect fails, instead of being skipped

2009-03-09 Thread Guilherme Polo
Guilherme Polo added the comment: Please use test_support.TestSkipped instead of showing a skip message using print. -- message_count: 3.0 -> 4.0 nosy: +gpolo nosy_count: 1.0 -> 2.0 ___ Python tracker <http://bugs.python.org/

[issue5450] test_tcl testLoadTk fails if DISPLAY defined but connect fails, instead of being skipped

2009-03-09 Thread Guilherme Polo
Guilherme Polo added the comment: It should be okay to move tk tests to somewhere in Lib/lib-tk/test/test_tkinter/ (answering the final question). Even the rest of test_tcl could be relocated to that place. -- message_count: 4.0 -> 5.0 ___ Pyt

[issue5234] Enhance 3.1 IDLE to exec IDLESTARTUP/PYTHONSTARTUP on restart

2009-03-09 Thread Guilherme Polo
Guilherme Polo added the comment: Closing in favor of 5233, I see the fix being applied to both 2.7 and 3.1 if accepted. -- message_count: 3.0 -> 4.0 nosy: +gpolo nosy_count: 3.0 -> 4.0 resolution: -> duplicate status: open -> closed superseder: -> Enhance 2

[issue5233] Enhance 2.7 IDLE to exec IDLESTARTUP/PYTHONSTARTUP on restart

2009-03-09 Thread Guilherme Polo
Guilherme Polo added the comment: Assigning to kbk since 5234 was assigned to him. -- assignee: -> kbk message_count: 2.0 -> 3.0 nosy: +gpolo, kbk nosy_count: 1.0 -> 3.0 ___ Python tracker <http://bugs.python.o

[issue5466] Tix.Balloon causes TCLError: unknown color name "{#ffff60}" in Python 2.6.1

2009-03-10 Thread Guilherme Polo
Guilherme Polo added the comment: Unfortunately this is a tix issue, so we can't fix it from python. See http://sourceforge.net/tracker/index.php?func=detail&aid=1864027&group_id=5649&atid=105649 Leaving this open as a reminder to incldue a newer tix in

[issue5471] os.path.expanduser('~') doesnt works correctly when HOME is '/'

2009-03-10 Thread Guilherme Polo
Guilherme Polo added the comment: Patch with a test attached. -- keywords: +patch message_count: 1.0 -> 2.0 nosy: +gpolo nosy_count: 1.0 -> 2.0 versions: +Python 2.7, Python 3.0, Python 3.1 Added file: http://bugs.python.org/file13297/issue_547

[issue5129] indentation in IDLE 2.6 different from IDLE 2.5, 2.4 or vim

2009-03-23 Thread Guilherme Polo
Guilherme Polo added the comment: I just tried it here under Windows XP (using python 2.6.1 from python.org) and the untabify dialog showed up with 8 as the default number of columns per tab (although there are at least two bugs with this dialog: i) I clicked on cancel but it still untabified

[issue5129] indentation in IDLE 2.6 different from IDLE 2.5, 2.4 or vim

2009-03-23 Thread Guilherme Polo
Guilherme Polo added the comment: It turns out that the problem is not in differences between IDLE in 2.5 and the one in 2.6, instead it is caused by the usage of Tk 8.5 by IDLE 2.6 (included in the Windows package). Changing to Tk 8.4, IDLE 2.6 displays in the same way as 2.5 (tested on Linux

[issue5129] indentation in IDLE 2.6 different from IDLE 2.5, 2.4 or vim

2009-03-23 Thread Guilherme Polo
Guilherme Polo added the comment: You do not need IDLE to reproduce the problem: import Tkinter text = Tkinter.Text() text.pack() text.insert('1.0', 'class C:\n\tdef m(self, c):\n' 'if c:\nc = False\n&#x

[issue5129] indentation in IDLE 2.6 different from IDLE 2.5, 2.4 or vim

2009-03-23 Thread Guilherme Polo
Guilherme Polo added the comment: Patch attached, if someone can create a test for it then that would be very good. -- keywords: +patch Added file: http://bugs.python.org/file13404/fix_5129.diff ___ Python tracker <http://bugs.python.org/issue5

[issue5129] indentation in IDLE 2.6 different from IDLE 2.5, 2.4 or vim

2009-03-24 Thread Guilherme Polo
Changes by Guilherme Polo : -- ___ Python tracker <http://bugs.python.org/issue5129> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue5129] indentation in IDLE 2.6 different from IDLE 2.5, 2.4 or vim

2009-03-24 Thread Guilherme Polo
Guilherme Polo added the comment: platform: Windows XP In a file (cf attached file) with mixed tabs and spaces, the line following "else:" appears at the same level than "else:", while the file probably still works with Python 2.6. At least, IDLE 2.5 or IDLE 2.4 or vim don

[issue5450] test_tcl testLoadTk fails if DISPLAY defined but connect fails, instead of being skipped

2009-03-24 Thread Guilherme Polo
Guilherme Polo added the comment: Uhm, I don't agree with this TkinterTest name since it is only doing a minor test on _tkinter._flatten. This same class is indicated in tests_gui but it doesn't require gui to run, it should be indicated only in tests_nogui. Then there is TclTest wh

[issue5559] IDLE Output Window 's goto fails when path has spaces

2009-03-25 Thread Guilherme Polo
Guilherme Polo added the comment: I see this occurring everywhere, but the proposed solution may not be enough. I can still create a directory with a tab on it and it will fail too. The proper solution (in my head) would involve changing the interaction of GrepDialog with OutupWindow, but then

[issue4985] Idle hangs when given a nonexistent filename.

2009-03-26 Thread Guilherme Polo
Guilherme Polo added the comment: I tried it here but it didn't hang. But I did notice the editor window was created and then disappeared, differently from what happens in python-trunk. I don't believe creating new files is a good solution, idle on python-trunk doesn't need to

[issue5035] Compilation --without-threads fails

2009-03-27 Thread Guilherme Polo
Changes by Guilherme Polo : -- nosy: +gpolo ___ Python tracker <http://bugs.python.org/issue5035> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5035] Compilation --without-threads fails

2009-03-27 Thread Guilherme Polo
Guilherme Polo added the comment: Victor, I have changed your tkinter patch a bit and applied on r70641. The issue is marking only python 2.7 right now, aren't these changes supposed to be applied 26-maint, py3k and 30-maint too ? -- ___ P

[issue4630] IDLE no longer respects .Xdefaults insertOffTime

2009-03-27 Thread Guilherme Polo
Guilherme Polo added the comment: Maybe we can agree on the feature being added ? I don't see much use for controlling how much time the insertion cursor is on and how much time it is off, but maybe just choosing between blink and no-blink would be good to have. I would prefer to just g

[issue1517993] IDLE: config-main.def contains windows-specific settings

2009-03-27 Thread Guilherme Polo
Guilherme Polo added the comment: For config-extensions.def: What do you think about moving all shortcuts to config-keys and then always use the name of the shorcut in config-extensions instead of the shorcut ? For config-main.def: For the [Keys] section I believe it would be better to

[issue1562092] IDLE: Dedent with Italian keyboard

2009-03-27 Thread Guilherme Polo
Guilherme Polo added the comment: Shift+Tab does look better to me too. But, one can change the default shortcut like Kurt mentioned. Are IDLE users ready to have the default dedent shortcut changed ? -- nosy: +gpolo ___ Python tracker <h

[issue1468223] Hitting CTRL-C while in a loop closes IDLE on cygwin

2009-03-27 Thread Guilherme Polo
Guilherme Polo added the comment: I have just tried it using Python 2.5.2 under cygwin 1.5.25 and that did not happen. This looks like to be an issue with the cygwin you were using, not python or idle. If you (Miki) are still around, please retry with a newer cygwin and report it here

[issue786827] IDLE starts with no menus (Cygwin)

2009-03-27 Thread Guilherme Polo
Guilherme Polo added the comment: I just tried idle here under cygwin and menus are not shown. This cygwin includes python 2.5.2, btw. But I verified what Daniel Joyce said and I see the problem is no longer there, so it has to be tracked down again. -- nosy: +gpolo

[issue989712] Support using Tk without a mainloop

2009-03-28 Thread Guilherme Polo
Guilherme Polo added the comment: I've changed the patch a bit and give it a quick try on the python-trunk. I didn't understand the need to verify for _tkinter while IDLE is already running, also, _tkinter.dooneevent is gone in py3k so I'm not using the module function

[issue5569] Issue in transparency in top level tk window(python) on MAC

2009-03-28 Thread Guilherme Polo
Guilherme Polo added the comment: Amaury, can you be more specific on how it is not correct ? What patch should be reverted ? I'm closing this as invalid now. Although this, in some way, can be considered a duplicate of issue1500773, I don't see it that way. I'm just seeing an

[issue1757057] IDLE + BeautifulSoup = Error

2009-03-28 Thread Guilherme Polo
Guilherme Polo added the comment: I can't seem to reproduce this here. I've tried both python 2.4.5 and 2.5.2 using beautifulsoup 3.0.7. I also used the sample html attached in that email as well part of the code that is supposed to cause the problem, and I can also run pickle on

[issue2995] Idle, some Linuxes, cannot position Cursor by mouseclick

2009-03-28 Thread Guilherme Polo
Guilherme Polo added the comment: I'm downloading Mandriva 2009.0 to hopefully reproduce the problem, but I'm afraid it won't happen. Apparently people that have this issue also reproduce it in different platforms, someone said on http://dev.laptop.org/ticket/7661 that this o

[issue941262] List with Canvas.create_line Option arrow=LAST Broke

2009-03-28 Thread Guilherme Polo
Guilherme Polo added the comment: Hi Brian (hope you are still there), the code in 31_8.tcl is not complete so I didn't bother looking into it. The tkdraw.py is not really correct, here is a cleaned up version that works: from Tkinter import Tk, Canvas, LAST, ROUND def StrokeBegin(

[issue2995] Idle, some Linuxes, cannot position Cursor by mouseclick

2009-03-28 Thread Guilherme Polo
Guilherme Polo added the comment: Whoa, it went better than I expected. It failed on Mandriva just like it was mentioned, but I still haven't verified what is causing this problem. And while running IOBinding.py doesn't demonstrate the problem, running EditorWind

[issue4630] IDLE no longer respects .Xdefaults insertOffTime

2009-03-29 Thread Guilherme Polo
Guilherme Polo added the comment: Here is a patch. But I'm not feeling comfortable with the option "display": Cursor blink ( ) No blink( ) Blink Those are radiobuttons. If I opted for a checkbutton then it would be different from everything on the "Ge

[issue3681] Cannot read saved csv file in a single run

2009-03-29 Thread Guilherme Polo
Guilherme Polo added the comment: Closing for lack of interest. Rahul, the bug tracker is a place to provide help not to obtain help. So if you still have the problem mentioned, consider posting to a proper mail list and if you can confirm it is really a bug then create a new issue

[issue934418] nametowidget throws TypeError for Tcl_Objs

2009-03-29 Thread Guilherme Polo
Guilherme Polo added the comment: This is a duplicate of issue799428, which is already fixed. -- nosy: +gpolo resolution: -> out of date status: open -> closed ___ Python tracker <http://bugs.python.org/is

[issue1757831] Allow opening just an editor window

2009-03-29 Thread Guilherme Polo
Changes by Guilherme Polo : -- versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker <http://bugs.python.org/issue1757831> ___ ___ Python-bugs-list m

[issue694339] Dedenting with Shift+Tab

2009-03-29 Thread Guilherme Polo
Guilherme Polo added the comment: Patch added for allowing, and defining, Shift-Tab as the default binding for dedenting. The problem is that dedent-region may do more than one would expect. -- keywords: +patch nosy: +gpolo versions: +Python 2.7, Python 3.1 -Python 2.6 Added file

[issue1562092] IDLE: Dedent with Italian keyboard

2009-03-29 Thread Guilherme Polo
Guilherme Polo added the comment: Closing in favour of 694339. -- resolution: -> duplicate status: open -> closed superseder: -> Dedenting with Shift+Tab ___ Python tracker <http://bugs.python.org/

[issue2995] Idle, some Linuxes, cannot position Cursor by mouseclick

2009-03-29 Thread Guilherme Polo
Guilherme Polo added the comment: Uhm, I have compiled python-trunk in this Mandriva 2009 now and it works! I didn't change tcl/tk version, just installed the dev packages in order to compile _tkinter. I still don't know how what kind of changes were done by Mandriva in order to ac

[issue1757057] IDLE + BeautifulSoup = Error

2009-03-29 Thread Guilherme Polo
Guilherme Polo added the comment: > IMO IDLE should check for any exception > (not just pickle.PicklingError) when trying to pickle an object for > sending to the parent process. If pickle doesn't work, for whatever > reason, IDLE can still try to work around it with str() and

[issue2578] Figure out what to do with unittest's redundant APIs

2009-03-29 Thread Guilherme Polo
Guilherme Polo added the comment: Skip: bugs.python.org/issuexx...@action=edit&@a...@messages=msgnum This "Remove" button... :) -- ___ Python tracker <http://bugs.pyt

[issue2755] IDLE ignores module change before restart

2009-03-29 Thread Guilherme Polo
Guilherme Polo added the comment: Is there any reason to keep this open ? It is not a IDLE bug, the title is misleading, and a solution has been provided for the problem related to how Ubuntu packages IDLE. -- nosy: +gpolo ___ Python tracker <h

[issue978604] wait_variable hangs at exit

2009-03-31 Thread Guilherme Polo
Guilherme Polo added the comment: You can also reproduce it with a shorter test that doesn't need any interaction: import Tkinter root = Tkinter.Tk() waitvar = Tkinter.BooleanVar() root.after(50, lambda: waitvar.set(True)) root.after(10, root.destroy) root.wait_variable(wa

[issue978604] wait_variable hangs at exit

2009-03-31 Thread Guilherme Polo
Guilherme Polo added the comment: Patch attached, but didn't test it at all. This is a trick so it doesn't get committed without a test (hopefully) :) -- keywords: +patch Added file: http://bugs.python.org/file13528/issue978604.diff

[issue978604] wait_variable hangs at exit

2009-03-31 Thread Guilherme Polo
Guilherme Polo added the comment: Using this patch I noticed two problems appeared when running WaitTest.py 1) Closing the window results in: "_tkinter.TclError: can't invoke "tkwait" command: application has been destroyed" which I'm not considering as a bug, m

[issue978604] wait_variable hangs at exit

2009-03-31 Thread Guilherme Polo
Guilherme Polo added the comment: Ah.. number 2 is problematic. Before continuing lets reduce the previous WaitTest.py to this (which shows the same problems): import Tkinter root = Tkinter.Tk() waitVar = Tkinter.BooleanVar() root.after(3000, lambda: waitVar.set(True)) root.wait_variable

[issue5783] IDLE cannot find windows chm file

2009-04-20 Thread Guilherme Polo
Guilherme Polo added the comment: Maybe the functions in Doc/tools/sphinxext/patchlevel.py should be moved to somewhere else then ? IDLE could use them. -- nosy: +gpolo ___ Python tracker <http://bugs.python.org/issue5

[issue5783] IDLE cannot find windows chm file

2009-04-20 Thread Guilherme Polo
Guilherme Polo added the comment: Fine, Martin. Patch attached for idle only. -- keywords: +patch Added file: http://bugs.python.org/file13724/issue_5783.diff ___ Python tracker <http://bugs.python.org/issue5

[issue1012435] ctrl-left/-right works incorectly with diacritics

2009-04-22 Thread Guilherme Polo
Guilherme Polo added the comment: This is not a bug in tkinter either, unfortunately. Please report it at tk tracker: http://sourceforge.net/projects/tktoolkit/ Here is the equivalent tcl code to reproduce the problem (you could use it while re-reporting at the tk tracker): $ wish8.5 % pack

[issue798058] IDLE / PyOS_InputHook

2009-04-22 Thread Guilherme Polo
Guilherme Polo added the comment: This issue has remained as is for too long, I assume the OP has found another solution or: dropped tkinter from his usage, fixed his problem according to issue989712, something else. Some time ago I read about your proposal to change PyOS_InputHook by

[issue1100366] Frame does not receive configure event on move

2009-04-22 Thread Guilherme Polo
Guilherme Polo added the comment: That is because only the root window changed the position, a Configure event is fired whenever the window changes its size, position, or border width, and sometimes when it has changed position in the stacking order. Try changing your example to verify this

[issue2995] Idle, some Linuxes, cannot position Cursor by mouseclick

2009-04-22 Thread Guilherme Polo
Guilherme Polo added the comment: Closing as won't fix since there is nothing to fix on Python side, not from what I have noticed at least. Mandriva 2009 and Sugar (and other places with this problem) should check how they got IDLE to act like that, and could try compiling python from s

[issue1119673] ScrolledText allows Frame.bbox to hide Text.bbox

2009-04-22 Thread Guilherme Polo
Guilherme Polo added the comment: > I suppose these lines from ScrolledText.py should > be expanded to include 'bbox', but I have not tested > such a fix: > >if m[0] != '_' and m != 'config' and m != 'configure': >

[issue780602] No sleep or busy wait

2009-04-22 Thread Guilherme Polo
Guilherme Polo added the comment: In theory at least, it is valid. I have done something similar in another tcl <-> python bridge that I did for fun, but didn't achieve good results in the end. From what I remember, creating a timer handler instead of using a 20ms sleep comp

[issue4961] Inconsistent/wrong result of askyesno function in tkMessageBox

2009-04-22 Thread Guilherme Polo
Guilherme Polo added the comment: I've verified it, it is indeed a bug in tkMessageBox.py which is very likely to be noticed while using tk 8.5 or newer. -- assignee: -> gpolo nosy: +gpolo versions: +Python 2.7, Python 3.0, Python 3.1 __

<    1   2   3   4   5   6   7   >