[issue5712] tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release

2009-08-04 Thread Guilherme Polo
Guilherme Polo added the comment: > With 2.6.2 on Windows, I get filenames surrounded by {}, all in a > single unicode string. This string surrounded by { } indicates it is supposed to be a tcl list, which didn't get converted but should be done by tkFileDialog. > The change may

[issue4832] idle filename extension

2009-08-04 Thread Guilherme Polo
Guilherme Polo added the comment: > With this new patch, is it possible to create a file without extension > on Windows? It is tricky but, answering your question, you could enter a name ending with a period to save without an extension. It seems this isn't going anywhere then.

[issue4765] IDLE fails to "Delete Custom Key Set" properly

2009-08-04 Thread Guilherme Polo
Changes by Guilherme Polo : -- versions: +Python 2.6, Python 2.7 ___ Python tracker <http://bugs.python.org/issue4765> ___ ___ Python-bugs-list mailing list Unsub

[issue4765] IDLE fails to "Delete Custom Key Set" properly

2009-08-04 Thread Guilherme Polo
Guilherme Polo added the comment: Interesting, this is reproducible in any version under any OS but it is more noticeable under Windows. In the step 6 you mentioned, IDLE is busy printing warnings that you will never see if you don't run IDLE from a terminal. Also, when you tried resta

[issue3961] Arrows key do not browse in the IDLE

2009-08-04 Thread Guilherme Polo
Guilherme Polo added the comment: Richard, IDLE doesn't support browsing the history of the commands entered (see issue2704), so I believe this is not related to IDLE and I believe you meant to talk about the standard python shell. Since you have compiled python yourself it is possible

[issue5712] tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release

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

[issue2710] error: (10035, 'The socket operation could not complete without blocking')

2009-08-03 Thread Guilherme Polo
Guilherme Polo added the comment: Hi Don, I don't think this is an issue about idle competing for tkinter resources (or idle and tkinter competing for resources -- the other meaning I got when reading your message). >From what I remember this WSAEWOULDBLOCK is just a way for Windows

[issue834351] Mouse wheel crashes program

2009-08-03 Thread Guilherme Polo
Guilherme Polo added the comment: This is a tk issue, so the best way to fix this (if you don't want to install something newer than Python 2.4 on Windows) is to install a newer tcl/tk version. Unfortunately the proposed workaround is way too specific, imagine if other bindings had si

[issue1721083] Add File - Reload

2009-08-03 Thread Guilherme Polo
Guilherme Polo added the comment: I have done a very initial patch in an attempt to define where we should go with this feature. There are several different proposals around this issue and the superseded one, I opted to implement the simplest one which is to add a 'Revert' entry i

[issue1175686] add "reload" function to IDLE

2009-08-03 Thread Guilherme Polo
Guilherme Polo added the comment: Closing this in favour of issue1721083. -- resolution: -> duplicate status: open -> closed superseder: -> Add File - Reload ___ Python tracker <http://bugs.python.org/

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

2009-08-03 Thread Guilherme Polo
Guilherme Polo added the comment: This looks good Scott, I'm just attaching the .diff here with real minor changes and will be applying if no one is against it. -- keywords: +patch Added file: http://bugs.python.org/file14638/idle_fixwarnings

[issue4691] IDLE Code Caching Windows

2009-08-03 Thread Guilherme Polo
Guilherme Polo added the comment: Amaury, from what I remember your suggestion has been applied some time ago. Can you check if the newest Windows installer still adds an '-n' by default ? -- ___ Python tracker <http://bugs.python.

[issue4652] IDLE does not work with Unicode

2009-08-03 Thread Guilherme Polo
Guilherme Polo added the comment: I can't seem to reproduce that, maybe it could be a tk issue ? Can you try writing anything (that doesn't work on IDLE) on a tkinter.Text widget to see if it shows there ? You could use this code below: from tkinter import Text text = Te

[issue2053] IDLE - standardize dialogs

2009-08-02 Thread Guilherme Polo
Guilherme Polo added the comment: I thought the main point of this issue was to define standard functions, methods, classes (or something in that sense), in order to make the creation of tk dialogs uniform across IDLE. Right now it seems reasonable to keep the parent hidden, but I think it may

[issue2053] IDLE - standardize dialogs

2009-08-02 Thread Guilherme Polo
Guilherme Polo added the comment: I have reviewed the latest patch now, it is nice in general but I dislike the idea of increasing even more EditorWindow. I would really prefer to put this somewhere else, like.. idlelib/dialogs.py. Also, I'm inclined to remove this master/parent hidin

[issue4832] idle filename extension

2009-08-01 Thread Guilherme Polo
Guilherme Polo added the comment: I'm attaching a very similar patch that I tested on Linux and Windows. It just combines the default behaviour with the details required for Windows, that is, the default extension is set to '.py' for Windows and '' elsewhere (the de

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

2009-08-01 Thread Guilherme Polo
Guilherme Polo added the comment: btw, I just added a patch for issue3559 which could be easily adjusted to work as described in this issue. -- ___ Python tracker <http://bugs.python.org/issue5

[issue3559] Pasted \n not same as typed \n

2009-08-01 Thread Guilherme Polo
Guilherme Polo added the comment: This seems to be problematic in general. I have worked on a patch now, but it fails to succeed while pasting multiple lines. The problem is that when a second line is pasted, IDLE is still marked as "executing" so it ends up just pasting the li

[issue4432] IDLE.app (Mac) File Menu MIssing Options

2009-08-01 Thread Guilherme Polo
Guilherme Polo added the comment: Closing. I have seen the code changes regarding idle and mac and I believe this issue has been fixed (some time after the OP started this, but it has). -- resolution: -> out of date status: open ->

[issue6549] ttk.Style not translating some Tcl options

2009-07-23 Thread Guilherme Polo
Guilherme Polo added the comment: Hi Mark, I don't think I remember very well where those element options are used. For instance, where can you use the 'embossed' option ? Would it be only when using style.configure/style.map with '.' as the style name ? Knowing that

[issue1447222] tkinter Dialog fails when more than four buttons are used

2009-06-29 Thread Guilherme Polo
Guilherme Polo added the comment: Interesting.. I tried testing Dialog for that bug, but generating keypress (you can combine with keyrelease too) doesn't trigger the problem (very weird to me). I will be simulating mouse clicks to see if, for some reason, the bug gets noticed. Attachin

[issue1522587] Tix.Grid patch

2009-06-29 Thread Guilherme Polo
Guilherme Polo added the comment: I forgot to include the new Grid constants, but I'm ok on adding them. -- ___ Python tracker <http://bugs.python.org/issu

[issue1522587] Tix.Grid patch

2009-06-29 Thread Guilherme Polo
Guilherme Polo added the comment: I've reviewed it now and produced a patch based on it, but it doesn't include undocumented Tix features that were added. I'm separating this new patch into two parts, the first part isn't supposed to affect Tix users, so it should be safe t

[issue775544] Tk.quit leads to crash in python.exe

2009-06-29 Thread Guilherme Polo
Guilherme Polo added the comment: I've tried reproducing this on Windows XP using both Python 2.3.5 and 2.2.3 (and also some newer ones) and couldn't duplicate the issue. I also tested the file attached on issue837234 and got nothing, changed it a bit and still got nothing. I can rep

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

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Just adding patch as a .diff -- keywords: +patch nosy: +gpolo versions: +Python 2.7, Python 3.1 -Python 2.6 Added file: http://bugs.python.org/file14335/issue1259434.diff ___ Python tracker <http://bugs.python.

[issue1250469] Tix: PanedWindow.panes nonfunctional

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

[issue1250469] Tix: PanedWindow.panes nonfunctional

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Is there some reason to prefer .split over .splitlist ? It is very likely that .split would still return a string if you had a single pane, while .splitlist would return a tuple with an item on it. Patch attached. -- keywords: +patch nosy: +gpolo

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

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: I guess this will have to be accepted without any tests, unless someone can come up with a way to test tk_messageBox under Windows and Mac. -- keywords: +patch Added file: http://bugs.python.org/file14333/stringify.diff

[issue802310] tkFont may reuse font names

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Uhm, now I'm getting it at around 3 iterations with python-trunk. So, can't we just use a simple generator for this ? Patch attached. The same could be done for widget and callback naming. -- keywords: +patch Added file: http://bugs.

[issue1522587] Tix.Grid patch

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Weird.. I guess no one ever used Tix.Grid ? -- nosy: +gpolo ___ Python tracker <http://bugs.python.org/issue1522587> ___ ___

[issue869780] curselection() in Tkinter.py should return ints

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Closing this in favour of issue6181 as it contains several other minor fixes in Listbox that now have been tested in the tk_and_idle_maintenance branch. -- status: open -> closed superseder: -> Tkinter.Listbox several minor

[issue1600182] Tix ComboBox entry is blank when not editable

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: I don't have access to this file "issue_1600182.py" but it seems you are forgetting to instantiate Tix.Tk (which will load the 'tix' package) before creating the Tix.ComboBox. I'm closing this as it is not a bug in the python tix

[issue3062] Turtle speed() function has no effect under Mac OS X

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Although turtle.py lives inside the tkinter package, this doesn't seem to be related to tkinter at all. I've set the "no selection" option for the Components now. -- components: -Tkinter nosy: +gpolo __

[issue1230] Tix HList class missing method implementation for info_bbox

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Closing in favour of issue1356969. -- resolution: -> duplicate status: open -> closed superseder: -> Tix.py class HList missing info_bbox, info_dragsite and info_dropsite ___ Python track

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

2009-06-21 Thread Guilherme Polo
Changes by Guilherme Polo : -- title: Tix.py class HList missing info_bbox -> Tix.py class HList missing info_bbox, info_dragsite and info_dropsite ___ Python tracker <http://bugs.python.org/issue1

[issue1356969] Tix.py class HList missing info_bbox

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: There you go. -- Added file: http://bugs.python.org/file14330/missing_tixhlist_info_subcomands.diff ___ Python tracker <http://bugs.python.org/issue1356

[issue1356969] Tix.py class HList missing info_bbox

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Should info_dragsite and info_dropsite be added too ? (I guess I would be too lucky to get an answer after ~3 years). I'm preparing a patch but I don't tend to use Tix, so it would be good if someone else wrote tests and at least tested the

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

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Fine, closing then. Committed as r73497 on py3k. -- status: open -> closed ___ Python tracker <http://bugs.python.org/iss

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

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Running tk tests through both Lib/test/test_tk.py and Lib/test/regrtest.py show the desired behaviour (from what I understood from your description and from what I tested). It has been committed now, r73495 (trunk). Should 2.6 and 3.0 really receive this

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

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Finally I'm looking into this again. So, for now, I decided to only move the tk load tests to Lib/lib-tk/test/test_tkinter under a new module named test_loadtk. Lib/test/test_tcl remains almost the same, except it no longer it contain those tests related

[issue1230] Tix HList class missing method implementation for info_bbox

2009-06-14 Thread Guilherme Polo
Guilherme Polo added the comment: Please include a diff of this modified Tix.py instead. -- nosy: +gpolo ___ Python tracker <http://bugs.python.org/issue1

[issue5492] Error on leaving IDLE with quit() or exit() under Linux

2009-06-14 Thread Guilherme Polo
Guilherme Polo added the comment: I can get a similar error from time to time, just try it a couple of times and I believe you should hit it too. When that error isn't thrown IDLE prints the traceback of a SystemExit exception inside IDLE right before closing, so it may be hard to notice.

[issue1252236] Simplying Tkinter's event loop

2009-06-14 Thread Guilherme Polo
Guilherme Polo added the comment: Michiel, the patch on #1049855 has been rejected so there is no longer a fix for the first problem to be solved. Also, the fourth problem you described is not entirely true, it is possible to run tkinter apps on IDLE without calling the mainloop function (see

[issue6244] Support for tcl 8.6

2009-06-08 Thread Guilherme Polo
Guilherme Polo added the comment: This is a bit misleading. Python supports compiling with Tcl 8.6 and Tkinter (and _tkinter) will work (or at least should work) with it, what is not supported are tcl/tk versions below 8.3.1. I'm ok with with patching setup.py to add this "su

[issue798058] IDLE / PyOS_InputHook

2009-06-08 Thread Guilherme Polo
Changes by Guilherme Polo : -- resolution: -> rejected ___ Python tracker <http://bugs.python.org/issue798058> ___ ___ Python-bugs-list mailing list Unsubscri

[issue798058] IDLE / PyOS_InputHook

2009-06-08 Thread Guilherme Polo
Guilherme Polo added the comment: Uh oh, awesome. Thanks ;) -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue798058> ___ ___ Python-

[issue3573] IDLE hangs when passing invalid command line args (directory(ies) instead of file(s))

2009-06-06 Thread Guilherme Polo
Guilherme Polo added the comment: Idle has changed a bit since the initial message, so it no longer hangs when it is configured to open an edit window by default, but now it hangs when running it as: idle -e (which the patch fixes). -- ___ Python

[issue798058] IDLE / PyOS_InputHook

2009-06-06 Thread Guilherme Polo
Guilherme Polo added the comment: Closing as promised. -- ___ Python tracker <http://bugs.python.org/issue798058> ___ ___ Python-bugs-list mailing list Unsub

[issue6225] Fixing several minor bugs in Tkinter.Canvas and one in Misc._configure

2009-06-06 Thread Guilherme Polo
New submission from Guilherme Polo : Hi, While testing Tkinter.Canvas I've found several minor bugs that I would prefer to see fixed. Many of them change the current Canvas api a bit, but for better. For example, the methods "focus", "gettags", "icursor",

[issue6181] Tkinter.Listbox several minor issues

2009-06-02 Thread Guilherme Polo
New submission from Guilherme Polo : Hi there, I've found several minor issues in Tkinter.Listbox which are all fixed by the attached patch. I'm considering the bbox method should be clear in relation to the amount of accepted arguments, which is always one. So I dropped the *args u

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

2009-06-02 Thread Guilherme Polo
New submission from Guilherme Polo : The xview method in Tkinter.Entry doesn't indicate that index may be None, which is used to query the Entry xview. I also considered that the docstrings in the selection_range and selection_present methods needed some clarifications, so the attached

[issue6167] Tkinter.Scrollbar: the activate method needs to return a value, and set should take only two args

2009-06-01 Thread Guilherme Polo
New submission from Guilherme Polo : Hi, I've noticed some minor problems in Tkinter.Scrollbar that would be good to be addressed. The activate method never returns a value and it also doesn't accept to be called without an element -- which is accepted by tcl. When an element is not

[issue6160] Tkinter.Spinbox: fix for bbox and removed some uninteresting returns

2009-05-31 Thread Guilherme Polo
New submission from Guilherme Polo : The current bbox method for Tkinter.Spinbox is very likely to never return a tuple. The attached patch uses _getints to always return a tuple of integers. The other changes in the patch are about removing unneeded return statements. -- components

[issue6159] Tkinter.PanedWindow: docstring fixes, change in paneconfigure and removed some returns

2009-05-31 Thread Guilherme Polo
New submission from Guilherme Polo : The attached patch removes the return statements from proxy_forget and proxy_place since these methods aren't supposed to return anything. It also fixes the docstring for the identify and paneconfigure methods. While fixing the docstring in paneconfig

[issue6157] Tkinter.Text: changes for bbox, debug, and edit methods.

2009-05-31 Thread Guilherme Polo
New submission from Guilherme Polo : Hi, While testing Tkinter.Text I've found some problems and it would be good to fix them in trunk. The methods edit_redo, edit_reset, edit_separator and edit_undo doesn't return anything, so I would suggest to remove the return statements there.

[issue3286] IDLE opens window too low on Windows

2009-05-03 Thread Guilherme Polo
Guilherme Polo added the comment: > It is a bug for a window manager to ignore the Taskbar; this is rare to > unique in my experience.  In fact, most Windows apps reopen at the size > and position closed.  But I am no longer bothered enough to find, > register with, and post to ano

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

2009-04-26 Thread Guilherme Polo
Guilherme Polo added the comment: > Do you have a case the corrected code doesn't handle? Create a file that starts with a space and search for something that returns it, for example. -- ___ Python tracker <http://bugs.python.or

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

2009-04-26 Thread Guilherme Polo
Guilherme Polo added the comment: I would prefer to rename it, why waste the "chance" to rename something badly named ? I agree on the rstrip use. -- ___ Python tracker <http://bugs.python.

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

2009-04-26 Thread Guilherme Polo
Guilherme Polo added the comment: Wouldn't it be better to actually write tests for it ? Also, the issue's title is a bit misleading, it is not only spaces that causes troubles. Isn't fixing how GrepDialog <-> OutputWindow works an acceptable solution ? Instead of just writ

[issue5783] IDLE cannot find windows chm file

2009-04-25 Thread Guilherme Polo
Guilherme Polo added the comment: Kurt, I'm not sure if you misunderstood Martin but there is no such "closing bot" here (only if you consider people as bots :) Anyway, are you porting these to py3k and release30-maint or can som

[issue4985] Idle hangs when given a nonexistent filename.

2009-04-25 Thread Guilherme Polo
Changes by Guilherme Polo : -- nosy: +kbk ___ Python tracker <http://bugs.python.org/issue4985> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4985] Idle hangs when given a nonexistent filename.

2009-04-25 Thread Guilherme Polo
Guilherme Polo added the comment: Ah, retried this bug a bit more and found out that to hang you have to run idle with the -e option and a non-existing filename. Anyway, this was all introduced by r57998. -- ___ Python tracker <h

[issue1111130] tkSimpleDialog broken on MacOS X (Aqua Tk)

2009-04-24 Thread Guilherme Polo
Guilherme Polo added the comment: I had temporary access to a mac to verify this, and it is really sad to see things like that. Anyway, I found out that by calling self.entry.update_idletasks in _QueryDialog.body right after calling self.entry.insert(0, self.initialvalue) solved the problem. I

[issue1794] Hot keys must work in any keyboard layout

2009-04-23 Thread Guilherme Polo
Guilherme Polo added the comment: That bug report is talking about gtk and modifiers affecting bindings (in the first comments at least), or maybe it even talks about your problem but it is so long that I would ask to include the relevant parts here. Nevertheless, after reading your comments I

[issue3493] No Backslash (\) in IDLE 1.2.2

2009-04-23 Thread Guilherme Polo
Guilherme Polo added the comment: Can you verify if it is possible to type '\' in a standard Tkinter.Text ? -- nosy: +gpolo type: feature request -> ___ Python tracker <http://bugs.pyth

[issue1074333] input from numeric pad always dropped when numlock off

2009-04-23 Thread Guilherme Polo
Guilherme Polo added the comment: > When numlock is on, it would still > move one line up. We could change it to fix this problem, but then we > would be using tk::TextUpDownLine which is marked as unsupported > (basically everything that could help us in such situations

[issue1074333] input from numeric pad always dropped when numlock off

2009-04-23 Thread Guilherme Polo
Guilherme Polo added the comment: Unfortunately this is not that easy for us, while we could add some code like this: import Tkinter text = Tkinter.Text() text.event_add("<>", "") text.event_add("<>", "") text.bind_class("Text"

[issue1525806] Tkdnd mouse cursor handling patch

2009-04-22 Thread Guilherme Polo
Guilherme Polo added the comment: I just created a sample listbox with drag & drop support and it indeed looks better if the "hand2" cursor or whatever cursor is set only shows up when motion starts. But, for the sample included with Tkdnd, I find it better to show up the differe

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

2009-04-22 Thread Guilherme Polo
Changes by Guilherme Polo : -- stage: -> test needed ___ Python tracker <http://bugs.python.org/issue4961> ___ ___ Python-bugs-list mailing list Unsubscri

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

[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

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

[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

[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

[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

[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

[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

[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

[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

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

[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

[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

[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

[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

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

[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

[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

[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

[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

[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

[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

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

[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

[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

[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

[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

[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

<    1   2   3   4   5   6   7   >