[issue1581476] Text search gives bad count if called from variable trace

2009-02-02 Thread Guilherme Polo
Guilherme Polo added the comment: Uhm, is it fine to remove it for good in 3.1 ? And then add a warning in 2.7 when it gets called which in turns just call Tkapp_Call ? ___ Python tracker <http://bugs.python.org/issue1581

[issue4343] New function in Tkinter.py: setup_master

2009-02-02 Thread Guilherme Polo
Guilherme Polo added the comment: Any chance I can get this in ? I'm using something very similar to test the ttk wrapper and will also be using in other tests, extensions would also benefit from it, and old code doesn't get affected to it. -- versions: +Python 3.1 -

[issue1581476] Text search gives bad count if called from variable trace

2009-02-02 Thread Guilherme Polo
Guilherme Polo added the comment: Commited in r69217 (r69219), r69220, r69222, r69223 Martin, I will open another ticket about GlobalCall deprecation, later today. -- resolution: accepted -> fixed status: open -> closed ___ Python tracker

[issue1731706] tkinter memory leak problem

2009-02-02 Thread Guilherme Polo
Guilherme Polo added the comment: It is much more important to fix the memory leak anyway, it is possible to notice real problems using test_tkleak1.py and watching the process with ps or something else provided by the platform. Besides, not calling ConditionFinalize doesn't introduce m

[issue1731706] tkinter memory leak problem

2009-02-02 Thread Guilherme Polo
Guilherme Polo added the comment: >> Besides, not calling ConditionFinalize doesn't introduce memory leaks > > Are you sure about this? On Unix, TclpFinalizeCondition does > >pthread_cond_destroy(pcondPtr); >ckfree((char *) pcondPtr); > > bo

[issue5136] Deprecating (and removing) "globalcall", "merge" and "globaleval"

2009-02-02 Thread Guilherme Polo
New submission from Guilherme Polo : Hi, I'm going to try explaining in short why I think each of these functions in _tkinter could be marked as deprecated and then removed on 2.8 (if it is decided to do it) and 3.1. globalcall: It is not used anywhere in tkinter. It was abandoned, and do

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2009-02-03 Thread Guilherme Polo
Guilherme Polo added the comment: Can you tell what: print(tkinter.Tcl().tk.call('info', 'patchlevel')) prints ? Specifically to know which tk 8.5.x has the problem. ___ Python tracker <http://bu

[issue1731706] tkinter memory leak problem

2009-02-03 Thread Guilherme Polo
Guilherme Polo added the comment: > That's not really a meaningful difference, though.. if the application > uses this code continuously then the conditions will pile up in memory > until it fills up. I'm not trying to discourage you to do the complete fix (for these two

[issue5159] Indicating packages to be loaded when a Tcl interpreter is created in tkinter

2009-02-05 Thread Guilherme Polo
New submission from Guilherme Polo : Hi, It seems to me that it would be useful to add something to indicate which packages should be loaded, and how they should be loaded, when a Tcl interpreter is created through Tkinter.Tk. Right now every extension has to add some boilerplate code to load a

[issue5159] Indicating packages to be loaded when a Tcl interpreter is created in tkinter

2009-02-05 Thread Guilherme Polo
Guilherme Polo added the comment: Attaching patch to show how ttk.py would be with this new module. Added file: http://bugs.python.org/file12948/ttk_withdeploader.diff ___ Python tracker <http://bugs.python.org/issue5

[issue5122] test_tcl and test_ttk_guionly don't like each other

2009-02-06 Thread Guilherme Polo
Guilherme Polo added the comment: Eric, I noticed you said Fedora 6, so I checked which tcl/tk it includes and apparently it is 8.4.13, is that correct ? I tried using tcl/tk 8.4.13 and I managed to hang it too :) Try running test_tcl followed by test_ttk_guionly with regrtest

[issue5122] test_tcl and test_ttk_guionly don't like each other

2009-02-06 Thread Guilherme Polo
Guilherme Polo added the comment: > When I run "./python Lib/test/regrtest.py test_tcl test_ttk_guionly", it > hangs. I have isolated it now: Traceback (most recent call last): File "", line 1, in File "/home/gpolo/python-dev/python-trunk/Lib/lib-tk/Tk

[issue5122] test_tcl and test_ttk_guionly don't like each other

2009-02-06 Thread Guilherme Polo
Guilherme Polo added the comment: After "I have isolated it now:", there should be this interactive session (but gmail ate it apparently): >>> import os >>> del os.environ['DISPLAY'] >>> import Tkinter >>> t = Tkinter.Tcl() >>> t

[issue5122] test_tcl and test_ttk_guionly don't like each other

2009-02-06 Thread Guilherme Polo
Guilherme Polo added the comment: Ok, I've found the cause of the problem and the patch attached should solve it but shouldn't be applied! This was just a quick fix I did to confirm what I expected, I will add something more correct later. _tkinter is aware of this deadlock that we a

[issue5122] test_tcl and test_ttk_guionly don't like each other

2009-02-06 Thread Guilherme Polo
Guilherme Polo added the comment: Here is a better patch, for some definition of better. It syncs the failed attempt to load tk that may occur in _tkinter.Tkapp_TkInit, _tkinter.Tcl_AppInit and tkappinit.Tcl_AppInit. And that is done only for tk < 8.4.14 now. Said that, I'm a bit

[issue5122] test_tcl and test_ttk_guionly don't like each other

2009-02-06 Thread Guilherme Polo
Guilherme Polo added the comment: Any chance you can look at the proposed patch, Martin ? I found out that it was you who reported this deadlock back then, so you might want to review the patch. -- nosy: +loewis ___ Python tracker <h

[issue5122] test_tcl and test_ttk_guionly don't like each other

2009-02-06 Thread Guilherme Polo
Guilherme Polo added the comment: Found a place still out of sync, it is fixed on this new patch. To reproduce the problem with the previous patch try this: import os del os.environ['DISPLAY'] import Tkinter Tkinter.Tk() Tkinter.Tcl().loadtk() # should hang now (with a proper

[issue5122] test_tcl and test_ttk_guionly don't like each other

2009-02-06 Thread Guilherme Polo
Guilherme Polo added the comment: > Eric Smith added the comment: > . > . > Which I assume is the expected behavior. Yes it is expected. > > Also with the third patch installed, the regrtest's all pass. > Very nice. And Eric, thanks for the patienc

[issue1731706] tkinter memory leak problem

2009-02-06 Thread Guilherme Polo
Guilherme Polo added the comment: Committed now. trunk: r69376, r69377 release26-maint: r69378 py3k: r69380 release30-maint: r69381 (hand-merged, as you may notice I forgot to split the patch in two again in py3k) -- resolution: -> fixed status: open ->

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

2009-02-06 Thread Guilherme Polo
Guilherme Polo added the comment: Another way to reproduce it (tested using debug build): Python 2.7a0 (trunk:69375:69376M, Feb 6 2009, 20:27:09) [GCC 4.3.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>

[issue5122] test_tcl and test_ttk_guionly don't like each other

2009-02-07 Thread Guilherme Polo
Guilherme Polo added the comment: A bit cleaner patch. Added file: http://bugs.python.org/file12971/protect_tk_loading.diff ___ Python tracker <http://bugs.python.org/issue5

[issue5122] test_tcl and test_ttk_guionly don't like each other

2009-02-07 Thread Guilherme Polo
Changes by Guilherme Polo : Removed file: http://bugs.python.org/file12960/checking_for_failed_tk_load-2.diff ___ Python tracker <http://bugs.python.org/issue5

[issue5122] test_tcl and test_ttk_guionly don't like each other

2009-02-07 Thread Guilherme Polo
Changes by Guilherme Polo : Removed file: http://bugs.python.org/file12958/checking_for_failed_tk_load.diff ___ Python tracker <http://bugs.python.org/issue5122> ___ ___

[issue5156] IDLE exits with UnicodeDecodeError on Ctrl+Space

2009-02-08 Thread Guilherme Polo
Guilherme Polo added the comment: This is a duplicate, see issue1028. -- nosy: +gpolo resolution: -> duplicate status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue4890] handling empty text search pattern in tkinter

2009-02-09 Thread Guilherme Polo
Changes by Guilherme Polo : -- assignee: -> gpolo ___ Python tracker <http://bugs.python.org/issue4890> ___ ___ Python-bugs-list mailing list Unsubscri

[issue4890] handling empty text search pattern in tkinter

2009-02-09 Thread Guilherme Polo
Guilherme Polo added the comment: Fixed on r69461, r69462, r69463 and r69464, thanks. Will be adding tests for Tkinter.Text.search for trunk and py3k only. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.p

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

2009-02-09 Thread Guilherme Polo
New submission from Guilherme Polo : Tkinter.Text.search is supposed to return a string, but this is not always true. The problem is much more likely to be noticed while using Tk 8.5. -- components: Tkinter files: ensure_search_returns_str.diff keywords: patch messages: 81465 nosy

[issue5120] Disabling test_ttk_guionly on mac

2009-02-09 Thread Guilherme Polo
Guilherme Polo added the comment: The abort still happens occasionally, see: http://www.python.org/dev/buildbot/all/OS%20X%20x86%20trunk/builds/118/step-test/0 (last lines) I've talked with Daniel Steffen, who is one of the maintainers of Tcl/Tk on Mac OSX, and I was told that all

[issue4890] handling empty text search pattern in tkinter

2009-02-09 Thread Guilherme Polo
Guilherme Polo added the comment: I've added some tests for it on r69467 now. ___ Python tracker <http://bugs.python.org/issue4890> ___ ___ Python-bugs-list m

[issue5122] test_tcl and test_ttk_guionly don't like each other

2009-02-09 Thread Guilherme Polo
Guilherme Polo added the comment: Thanks Eric, committed in r69473. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue775309] button methods tkButtonDown, etc don't work

2009-02-09 Thread Guilherme Polo
Guilherme Polo added the comment: Thanks for remembering, Daniel. Closing as noted above. -- resolution: -> out of date status: open -> closed superseder: -> Remove dead code from Tkinter.py ___ Python tracker <http://bugs.python.org

[issue5120] Disabling test_ttk_guionly on mac

2009-02-09 Thread Guilherme Polo
Changes by Guilherme Polo : -- keywords: +patch Added file: http://bugs.python.org/file13000/oldtkaqua.diff ___ Python tracker <http://bugs.python.org/issue5

[issue5202] wave.py cannot write wave files into a shell pipeline

2009-02-10 Thread Guilherme Polo
Guilherme Polo added the comment: Wouldn't it be better if you only ignored the 'illegal seek' error instead of ignoring any ioerror (should it even be always discarded) ? I get a 'bad file descriptor' under Windows 7, but, again, can it be always discarded ? Y

[issue5202] wave.py cannot write wave files into a shell pipeline

2009-02-10 Thread Guilherme Polo
Guilherme Polo added the comment: I see what you want to do, but I fell really uncomfortable by totally ignoring IOError. I could get a bad file descriptor under Linux too, and I wouldn't like to see it discarded for no reason. Now, is there some problem if we remove the calls to the

[issue5213] _resolve_name in importlib/__init__.py left an index on rindex usage

2009-02-10 Thread Guilherme Polo
New submission from Guilherme Polo : I guess this happened due to the transition from rsplit to rindex. -- assignee: brett.cannon components: Library (Lib) files: _resolve_name_rindex.diff keywords: easy, patch messages: 81621 nosy: brett.cannon, gpolo severity: normal status: open

[issue5218] Check for tp_iter in ceval:ext_do_call before overriding exception message

2009-02-11 Thread Guilherme Polo
New submission from Guilherme Polo : Hi, I find it weird that given this sample code: def g(): yield iter(None) list(*g()) I get this traceback: Traceback (most recent call last): File "a1.py", line 3, in list(*g()) TypeError: type object argument after * must be a seq

[issue5218] Check for tp_iter in ceval:ext_do_call before overriding exception message

2009-02-11 Thread Guilherme Polo
Changes by Guilherme Polo : -- components: +Interpreter Core type: -> behavior versions: +Python 2.7, Python 3.1 ___ Python tracker <http://bugs.python.org/iss

[issue5218] Check for tp_iter in ceval:ext_do_call before overriding exception message

2009-02-11 Thread Guilherme Polo
Guilherme Polo added the comment: (Btw, the suggestion to check for tp_iter came from Antoine Pitrou. It seemed fine to me.) ___ Python tracker <http://bugs.python.org/issue5

[issue5218] Check for tp_iter in ceval:ext_do_call before overriding exception message

2009-02-11 Thread Guilherme Polo
Guilherme Polo added the comment: Thanks for taking a look, my bad for taking so long to reply. I'm adding a new patch now. This one, besides the fix needed mentioned above, disregards tp_iter from old class instances (since they are always available and tell us nothing). Added file:

[issue5202] wave.py cannot write wave files into a shell pipeline

2009-02-11 Thread Guilherme Polo
Guilherme Polo added the comment: Nice. I said tests in hope wave gets more tests, since right one there is a single one. I will see if I can produce something. ___ Python tracker <http://bugs.python.org/issue5

[issue3833] python-2.6b3.msi and python-2.6b3.amd64.msi can't both be installed on one machine

2009-02-12 Thread Guilherme Polo
Guilherme Polo added the comment: agreed. most platforms should be using the openssl version, i will update the non-openssl implementations to behave the same. I don't think this is worth being a release blocker. I'll do it for 3.0.1. -- nosy: +grego

[issue3833] python-2.6b3.msi and python-2.6b3.amd64.msi can't both be installed on one machine

2009-02-12 Thread Guilherme Polo
Changes by Guilherme Polo : ___ Python tracker <http://bugs.python.org/issue3833> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/o

[issue3833] python-2.6b3.msi and python-2.6b3.amd64.msi can't both be installed on one machine

2009-02-12 Thread Guilherme Polo
Changes by Guilherme Polo : ___ Python tracker <http://bugs.python.org/issue3833> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/o

[issue3833] python-2.6b3.msi and python-2.6b3.amd64.msi can't both be installed on one machine

2009-02-12 Thread Guilherme Polo
Changes by Guilherme Polo : -- nosy: -gregory.p.smith ___ Python tracker <http://bugs.python.org/issue3833> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue539907] Tkinter lock conflicts extension widgets

2009-02-12 Thread Guilherme Polo
Guilherme Polo added the comment: Why close ? It is still a valid feature request (with no patch yet). -- nosy: +gpolo ___ Python tracker <http://bugs.python.org/issue539

[issue5218] Check for tp_iter in ceval:ext_do_call before overriding exception message

2009-02-13 Thread Guilherme Polo
Changes by Guilherme Polo : Removed file: http://bugs.python.org/file13035/check_tpiter_before_overriding_msg.diff ___ Python tracker <http://bugs.python.org/issue5

[issue16248] Security bug in tkinter allows for untrusted, arbitrary code execution.

2012-10-17 Thread Guilherme Polo
Guilherme Polo added the comment: It is a well known fact that the readprofile function uses exec, and it has been like that for more than 18 years. The parameters baseName and className defines the execution of the files $HOME/.{className}.tcl, $HOME/.{className}.py, $HOME/.{baseName}.tcl

[issue16248] Security bug in tkinter allows for untrusted, arbitrary code execution.

2012-10-18 Thread Guilherme Polo
Guilherme Polo added the comment: For something that has been around for so long, I would be a little more careful. My suggestion is: no longer declare readprofile as an internal function; remove the direct call to readprofile from Tk.__init__; tell users about the new behavior, and the need

[issue16248] Security bug in tkinter allows for untrusted, arbitrary code execution.

2012-10-31 Thread Guilherme Polo
Guilherme Polo added the comment: I can ignore it, but let us be honest. If you got sudo privilege already, why are you bothering to break (or whatever else) the system using IDLE ? The issue here did not give you the sudo privilege. If it did, then we have an actual security bug

[issue16248] Security bug in tkinter allows for untrusted, arbitrary code execution.

2012-11-01 Thread Guilherme Polo
Guilherme Polo added the comment: It is not IDLE specific. But I still fail to see how this actually is a security bug. It doesn't give more power to the user than the user already gave to it. If you are recklessly installing untrusted libraries or anything for the matter, then you already

[issue15303] Minor revision to the method in Tkinter

2012-11-09 Thread Guilherme Polo
Guilherme Polo added the comment: Please include a short version of the widget class you mentioned. It must be only long enough to show the issue. -- ___ Python tracker <http://bugs.python.org/issue15

[issue16541] tk_setPalette doesn't accept keyword parameters

2012-11-23 Thread Guilherme Polo
Guilherme Polo added the comment: If doing list(kw.items()) works, I'm fine with that. If it does not, then ttk._format_optdict(kw) should. -- ___ Python tracker <http://bugs.python.org/is

[issue10259] Entry text not set if all of 'Font', 'Foreground' and 'Justify' are set

2012-11-30 Thread Guilherme Polo
Guilherme Polo added the comment: Calm down for a moment. This is just incorrect usage of Entry. There is no "text" parameter documented for this class (see its docstring, for a quick reference on that). Also, there is a lot of Tkinter documentation, the official one at can be foun

[issue15861] ttk.Treeview "unmatched open brace in list"

2012-12-22 Thread Guilherme Polo
Guilherme Polo added the comment: I consider myself the main responsible for this bug, so if the current patch (which I didn't look at) passes all tests, doesn't slow things up (unlikely, I would think) and also works with some more involved styling code then I'm fine

[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

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

[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

[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

[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

[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

[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

[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

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

[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

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

[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

[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

[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

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

[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

[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

[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

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

[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

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

2009-08-04 Thread Guilherme Polo
Guilherme Polo added the comment: > AFAIK, WSAEWOULDBLOCK means that the socket is in nonblocking mode and > the attempted operation could wait indefinitely to complete. Rather pessimistic way to see it :) I've always read it as "operation cannot be completed without blo

[issue6649] idlelib/rpc.py missing exit status on exithook

2009-08-05 Thread Guilherme Polo
New submission from Guilherme Polo : SocketIO.exithook on idlelib/rpc.py is missing the exit status, this is a minor issue since both client and server used on IDLE override this method to do something else. -- components: IDLE files: missing_exitstatus.diff keywords: patch messages

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

2009-08-05 Thread Guilherme Polo
Guilherme Polo added the comment: I just tried writing tests for it, but I don't know idlelib/rpc.py enough yet. You can see this first attempt at: http://svn.python.org/view?view=rev&revision=74320 I started trying to test rpc.RPCClient together with run.main but it seemed too h

[issue3600] Include Tcl/Tk 8.5.4 in the windows binary for the upcoming beta3

2009-08-06 Thread Guilherme Polo
Changes by Guilherme Polo : -- resolution: -> out of date status: open -> closed ___ Python tracker <http://bugs.python.org/issue3600> ___ ___ Python-bugs-

[issue3438] PyCF_DONT_IMPLY_DEDENT can be used to activate the with statement

2009-08-06 Thread Guilherme Polo
Guilherme Polo added the comment: This isn't going to happen, closing. -- resolution: -> wont fix status: open -> closed ___ Python tracker <http://bugs.python

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

2009-08-07 Thread Guilherme Polo
Guilherme Polo added the comment: I've looked into this again and now I'm attaching a patch very similar to xview_yview.patch. Is anyone against adding these mixins ? -- Added file: http://bugs.python.org/file14673/xview_yview_mixins.diff

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2009-08-07 Thread Guilherme Polo
Guilherme Polo added the comment: Attaching a patch against trunk, I believe this solves the problems described here. -- versions: +Python 2.6, Python 2.7 Added file: http://bugs.python.org/file14674/issue1028.diff ___ Python tracker <h

[issue6168] Missing Shell menu in Linux IDLE

2009-08-07 Thread Guilherme Polo
Guilherme Polo added the comment: >From what I read here this is not a problem caused by the sources distributed by python.org, so I'm closing this. It seems more appropriate to move this to Ubuntu's bug tracker. -- nosy: +gpolo resolution: -> invalid status

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2009-08-07 Thread Guilherme Polo
Guilherme Polo added the comment: Uhm, in the long run I believe it will be better to move to Tcl_CreateObjCommand since it is said that commands created by it are significantly faster than the ones created by Tcl_CreateCommand (more information about this can be found at tcl documentation

[issue6527] test_ttk_guionly buildbot test crash: Tcl_FinalizeNotifier: notifier pipe not initialized

2009-08-07 Thread Guilherme Polo
Guilherme Polo added the comment: I notice this some time ago, let's continue this on issue5120. Can you test the patch attached there on a mac ? I don't have one, so I'm not sure if it fixes the issue or not. -- resolution: -> duplicate stat

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2009-08-08 Thread Guilherme Polo
Guilherme Polo added the comment: Today I noticed the StringObj manpage (from tcl) says that the bytes that represent an tcl object should be treated as read-only (although it uses char *) so this issue1028.diff may very well cause a segfault at some point. I'm attaching a new patch that

[issue1207589] Right Click Context Menu

2009-08-10 Thread Guilherme Polo
Guilherme Polo added the comment: What do you think about adding a third element for each tuple in rmenu_specs ? This new element would be a string determining the name of a function that would be called to define the state of each entry in the right menu. If None is used in place of a string

[issue1207589] Right Click Context Menu

2009-08-10 Thread Guilherme Polo
Guilherme Polo added the comment: > 2) display assigned hot keys in popup menu Is that really necessary ? I've looked for that on some applications I use most and none of them include hot keys in right menus. -- ___ Python tracke

[issue1612262] Class Browser doesn't show internal classes

2009-08-12 Thread Guilherme Polo
Guilherme Polo added the comment: The attached patch adds support for nested objects in pyclbr and also in ClassBrowser. I have yet to find an optimal way to test this on test_pyclbr (I did some things here, none very nice), so you will notice tests are missing on this patch

[issue6691] Support for nested classes and function for pyclbr

2009-08-12 Thread Guilherme Polo
New submission from Guilherme Polo : I have worked on a patch for adding support for nested classes and nested functions in pyclbr. I believe this might be useful for some applications, and also for issue1612262. The patch attached also contains a test and updated documentation

[issue6691] Support for nested classes and function for pyclbr

2009-08-12 Thread Guilherme Polo
Changes by Guilherme Polo : Removed file: http://bugs.python.org/file14703/pyclbr_nested_objects.diff ___ Python tracker <http://bugs.python.org/issue6691> ___ ___ Pytho

[issue6691] Support for nested classes and function for pyclbr

2009-08-12 Thread Guilherme Polo
Changes by Guilherme Polo : -- dependencies: +Support for nested classes and function for pyclbr Added file: http://bugs.python.org/file14704/classbrowser_nesting_support.diff ___ Python tracker <http://bugs.python.org/issue6

[issue6691] Support for nested classes and function for pyclbr

2009-08-12 Thread Guilherme Polo
Changes by Guilherme Polo : Removed file: http://bugs.python.org/file14704/classbrowser_nesting_support.diff ___ Python tracker <http://bugs.python.org/issue6691> ___ ___

[issue6691] Support for nested classes and function for pyclbr

2009-08-12 Thread Guilherme Polo
Changes by Guilherme Polo : -- dependencies: -Support for nested classes and function for pyclbr Added file: http://bugs.python.org/file14705/pyclbr_nested_objects.diff ___ Python tracker <http://bugs.python.org/issue6

[issue1612262] Class Browser doesn't show internal classes

2009-08-12 Thread Guilherme Polo
Guilherme Polo added the comment: I've removed the previous patch from here and attached an updated one on issue6691. Now the patch attached here only contains changes related to idlelib.ClassBrowser. -- dependencies: +Support for nested classes and function for pyclbr Added

[issue1612262] Class Browser doesn't show internal classes

2009-08-12 Thread Guilherme Polo
Changes by Guilherme Polo : Removed file: http://bugs.python.org/file14699/show_nested_objects.diff ___ Python tracker <http://bugs.python.org/issue1612262> ___ ___ Pytho

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

2009-08-12 Thread Guilherme Polo
Changes by Guilherme Polo : -- superseder: -> Idle hangs when given a nonexistent filename. ___ Python tracker <http://bugs.python.org/issue3573> ___ ___ Py

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

2009-08-12 Thread Guilherme Polo
Changes by Guilherme Polo : -- superseder: Idle hangs when given a nonexistent filename. -> ___ Python tracker <http://bugs.python.org/issue3573> ___ ___ Py

[issue4985] Idle hangs when given a nonexistent filename.

2009-08-12 Thread Guilherme Polo
Guilherme Polo added the comment: Closing this in favour of issue 3573. -- resolution: -> duplicate status: open -> closed superseder: -> IDLE hangs when passing invalid command line args (directory(ies) instead of file(s)) ___ Pytho

[issue5150] IDLE to support reindent.py

2009-08-13 Thread Guilherme Polo
Guilherme Polo added the comment: This has been closed but why not promote reindent.py to a module and add an option on IDLE to allow a complete reindent.py run ? -- ___ Python tracker <http://bugs.python.org/issue5

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

2009-08-13 Thread Guilherme Polo
New submission from Guilherme Polo : If someone configure IDLE to start a edit window by default, I believe it should open only an edit window without starting shell window. This has been the behaviour in previous version, but it is acting different now. I looked into r71126 and I think this

<    1   2   3   4   5   6   7   >