[issue17945] tkinter/Python 3.3.0: peer_create doesn't instantiate Text

2013-05-11 Thread Guilherme Polo

Guilherme Polo added the comment:

If someone decides to commit this, please check that the name of the widget
in Tcl is always adequate.

--

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



[issue17945] tkinter/Python 3.3.0: peer_create doesn't instantiate Text

2013-05-09 Thread Guilherme Polo

Guilherme Polo added the comment:

Uh.. well observed.

It sounds like you are the first actual user of peer_create. Now I wish Tk
had done this in a different way: when creating a text widget, specificy
that it is a peer of some other text widget via an option (-peer w for
example).

If possible I would like to keep the functionality through the method
peer_create (and as a minor detail, newPathName should be None by default
-- it is easy to pick some name for the peer).

--

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



[issue17945] tkinter/Python 3.3.0: peer_create doesn't instantiate Text

2013-05-09 Thread Guilherme Polo

Guilherme Polo added the comment:

Here is a quick patch for it: http://pastebin.com/m1XQBGqU (I forgot my
password for the tracker, and leaving home right now).

Does it work for you ?

--

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



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

These formatting functions were added to the ttk module to make it easier to 
create and adjust styles using Python. It wouldn't be possible without them 
unless the person basically coded in Tcl while in Python. These functions ended 
up being used in other places (as was noticed here) for convenience. All in 
all, I'm glad someone else is using the module, reporting, and improving it.

--
nosy: +gpolo

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



[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 found at  http://docs.python.org/2/library/tkinter.html, which 
includes links for further documentation.

This is actually unrelated to string hash randomization, it is only barely 
related to the unordered nature of the hash implementation. What actually 
happens is that the tk lib usually accepts abbreviations of parameter names. So 
specifying text and textvariable is the same for tk.

--
resolution:  - invalid
status: open - closed

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



[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 rep...@bugs.python.org
http://bugs.python.org/issue16541
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15303] Minor revision to the BaseWidget._setup 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 rep...@bugs.python.org
http://bugs.python.org/issue15303
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 have a lot of other problems.

Anyways, I would still go with my earlier option because I never used this
piece of code.

2012/11/1 Antoine Pitrou rep...@bugs.python.org


 Antoine Pitrou added the comment:

 As I understand it, this is not specifically about IDLE. Any Tk app would
 be vulnerable.

 --

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue16248
 ___


--

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



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

--

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



[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 to call readprofile themselves if they wish to.

In some years we might be able to estimate if readprofile is used at all, and 
then decide about removing it. Since I haven't been active as a Python 
committer, I will let the final decision to someone else.

--

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



[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, and $HOME/.{baseName}.py. The 
function's docstring actually say that.

Said that, I never needed to load custom code during the creation of a Tk 
instance. To me the existence of readprofile is unneeded.

But what is your proposal to the issue ?

--

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



[issue12558] Locale-dependent crash for float width argument to Tkinter widget constructor

2011-07-14 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

Why is this a bug ? You passed something that is not supposed to work with tk 
and tk said so.

--

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



[issue11387] Tkinter, callback functions

2011-03-06 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

I have a different problem here on Mac, but I can manage to reproduce
your issue if I apply the following patch:

Index: Lib/tkinter/__init__.py
===
--- Lib/tkinter/__init__.py (revision 88757)
+++ Lib/tkinter/__init__.py (working copy)
@@ -920,9 +920,9 @@
 self.tk.call('bindtags', self._w, tagList)
 def _bind(self, what, sequence, func, add, needcleanup=1):
 Internal function.
-if isinstance(func, str):
-self.tk.call(what + (sequence, func))
-elif func:
+#if isinstance(func, str):
+#self.tk.call(what + (sequence, func))
+if func:
 funcid = self._register(func, self._substitute,
 needcleanup)
 cmd = ('%sif {[%s %s] == break} break\n'

This should help someone else to produce a patch for this problem you
reported. It is interesting that this same patch fixes the problem I
have here (I get a SIGSEGV if I click the cancel button side the
askdirectory dialog).

--

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



[issue11290] ttk.Combobox['values'] String Conversion to Tcl

2011-03-06 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

Does the attached patch work for you ?

--
keywords: +patch
Added file: http://bugs.python.org/file21017/patch11290.diff

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



[issue4350] Remove dead code from Tkinter.py

2011-03-06 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

If we consider the meaning of dead code as that used in compilers, then I 
meant out of date code.

If you want to add support for tk::ButtonEnter then I believe you should open a 
new issue and raise your points there. Anyway, have you read 
http://www.mail-archive.com/python-list@python.org/msg210494.html ? Does it 
relate to your use case ?

--

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



[issue6549] ttk.Style not translating some Tcl options

2011-02-22 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

 I have been working with the ttk module (Windows XP, Python 3.1) and have 
 encountered some specific issues with ttk.Style() not fully propagating the 
 style into the widget.  In my particular case, there seem to be issues with 
 setting style in TCombobox and TEntry.  The biggest issue is that you can't 
 change the style of the ttk.Combobox popdown.  Style can be set in the top 
 window, but not using all methods, but nothing works for the popdown.

Is this related to the initial report ?

Setting styles may be problematic, and I don't think there is
something fully describing all the things in ttk.Style (Tcl, Python
and other languages) yet. There is a .tcl script that performs a lot
of styling here:
http://tktable.git.sourceforge.net/git/gitweb.cgi?p=tktable/tile-qt;a=tree;f=library;hb=HEAD

It might help you, but I can't confirm. Good luck, but continue this
conversation on a forum if it is not related to the initial report.

--

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



[issue8445] buildbot: test_ttk_guionly failures (test_traversal, test_tab_identifiers, test_identify, test_heading_callback)

2010-09-26 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

 We are down to 1 error but thats a new errror;


 test test_ttk_guionly failed -- Traceback (most recent call last):
  File 
 /Users/cartman/Sources/py3k/Lib/tkinter/test/test_ttk/test_widgets.py, line 
 28, in test_identify
    self.widget.winfo_height() / 2), label)
  File /Users/cartman/Sources/py3k/Lib/tkinter/ttk.py, line 568, in identify
    return self.tk.call(self._w, identify, x, y)
 _tkinter.TclError: expected integer but got 30.5


Just convert to integer the results from winfo and you should be fine.

--

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



[issue8445] buildbot: test_ttk_guionly failures (test_traversal, test_tab_identifiers, test_identify, test_heading_callback)

2010-09-26 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

You should convert the whole expressions actually, but that is because the 
patch wasn't done for py3k.

--

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



[issue8445] buildbot: test_ttk_guionly failures (test_traversal, test_tab_identifiers, test_identify, test_heading_callback)

2010-09-25 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

Hi there,

I believe I've fixed most of these errors. But I couldn't replicate the last 
error on the first message, so I guessed what could be the problem.

Could you try the patch and see how it works for you ?

(Thanks for the nosy addition, I rarely check for bugs as you may know).

--
keywords: +patch
Added file: http://bugs.python.org/file19019/issue8445.diff

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



[issue1730136] tkFont.__eq__ gives type error

2010-09-20 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

Closing this again in favor of issue9899.

--
status: open - closed

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



[issue539907] Tkinter lock conflicts extension widgets

2010-08-17 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

 @Guilherme I'm guessing that you're still interested in this, yes?

I don't see the point in closing an issue simple because no one
responded. I think the question to be asked is more towards is it
solved? than are you interested on it?. If the issue is invalid
considering all the changes that happened since the initial message
then I'm in favor in closing it.

--

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



[issue4345] Implement nb_nonzero for PyTclObject

2010-08-04 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

Mark,

If you want to expand it to handle other data types, I'm ok with it
but I predict troubles for you. The problem is that in Tcl there is
only one real data type -- string. Depending on how you operate over
a value it is then, internally, treated as something more specific but
this is not directly exposed for the API users.

--

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



[issue4345] Implement nb_nonzero for PyTclObject

2010-08-04 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

 I assume that Tcl_GetCharLength works for any object, regardless of
 its internal representation?

I didn't look at its code but I assume it will create a string representation 
for the object in question if there isn't one in place when the call happens, 
so this means I /believe/ it will work for any Tcl object.

 Can you update the patch for py3k, and add docs and tests?

I can do it (maybe the test part may not be excellent), but not at this moment.

Btw, I'm happy that you mentioned that doc requirement about unexpected results 
because I was going to write about it in my previous reply but I thought my 
English could hurt its meaning and negatively affect you.

--

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



[issue4832] idle filename extension

2010-07-20 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

Sorry but this is just bikeshedding, whoever commits can make this change or if 
it had been committed without this improvement then anyone could adjust 
without needing a new issue.

--

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



[issue9222] IDLE: Fix open/saveas 'Files of type' choices

2010-07-16 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

I remember about another issue regarding extensions and save-as/open dialog 
boxes. Let me try to find it, just to be sure that the problem described here 
is different.

--

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



[issue9222] IDLE: Fix open/saveas 'Files of type' choices

2010-07-16 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

I was thinking of issue4832. The patch provided here seems fine to me, although 
the behavior remains the same in Mac.

--

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



[issue9262] IDLE: Use ttk.Notebook for tabbed windows

2010-07-14 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

It is possible to create a tabbed window without ttk.Notebook. This is already 
being done in the configuration dialog. The real issue goes much beyond 
ttk.Notebook, check the patch tabs_ttk_and_co.diff at 
http://code.google.com/p/python-ttk/downloads/list for an earlier work on this 
(there is also a screenshot in the wiki over there showing the final result).

--
nosy: +gpolo

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



[issue2053] IDLE - standardize dialogs

2010-07-10 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

 Tal Einat added the comment:

 ...

 The process of discussing this patch has taken far, far too long. I can't 
 stand such discussions spanning months (and years!). Please just accept this 
 patch or close it. I'm fed up with this.


If the patch were good enough for everyone then it could have been
committed about 2 years ago, but it is not the case apparently (kbk
also raised some points earlier). Also, the effective discussion has
taken maybe some hours and this large extra time shows this issue is
not important enough to be noticed and taken proper care (and I'm
mostly sure you know this situation isn't exclusive to this
issue/Python/other (closed or open) projects). Said that, I don't see
the reason to just accept the patch and close the issue if no one else
fully backs up your patch.

I understand you may want to no longer follow the issue, and I can't
blame you because I've been mostly away from Python development these
months.

--

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



[issue6878] changed return type from tkinter.Canvas.coords

2010-05-09 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

Weird.. I was almost sure that was fixed at some point.

The patch is fine, but I would suggest adding some simple testcase(s).
This will probably require a new file (test_canvas.py) at
Lib/tkinter/test/test_tkinter.

--

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



[issue8424] Test assumptions for test_itimer_virtual and test_itimer_prof

2010-04-19 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

Wasn't the freebsd problem unrelated to this ?

--

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



[issue8424] buildbots: test_itimer_virtual failures

2010-04-17 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

To make the situation worse, this Ubuntu buildbot passed all signal tests on 
the next run.

--

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



[issue8204] test_ttk_guionly assertion error on 3.x linux 64-bit

2010-04-08 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

 Martin v. Löwis added the comment:

 I can reproduce the problem. The root cause is that the event generate .nb 
 Control-Tab simply does not have any effect - neither through Python, nor 
 through directly wish. Nor do any of the other keys that supposedly cycle 
 through the notebook, when send through event generate. Typing them 
 directly works fine.


Could it be caused because the notebook is not focused at the correct
time ? Here in OSX (finally I have one of these) I had to add
self.nb.focus() before that event_generate.

The attached patch is for trunk.

--
keywords: +patch
Added file: http://bugs.python.org/file16818/p1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8204
___Index: Lib/lib-tk/test/test_ttk/test_widgets.py
===
--- Lib/lib-tk/test/test_ttk/test_widgets.py(revision 79905)
+++ Lib/lib-tk/test/test_ttk/test_widgets.py(working copy)
@@ -704,6 +704,7 @@
 self.nb.select(0)
 
 support.simulate_mouse_click(self.nb, 5, 5)
+self.nb.focus()
 self.nb.event_generate('Control-Tab')
 self.assertEqual(self.nb.select(), str(self.child2))
 self.nb.event_generate('Shift-Control-Tab')
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8204] test_ttk_guionly assertion error on 3.x linux 64-bit

2010-04-08 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

When I run that alone I get the same effect, maybe there is something
else contributing to the previous result I saw.

focus_force did solve when testing it alone, and I think it is ok to
use focus_force when testing at least.
Here is the sample I tried:

import ttk
import Tkinter as tk

nb = ttk.Notebook()
nb.add(tk.Label(text='hi'), text='a')
nb.add(tk.Label(text='there'), text='b')

nb.pack()
nb.wait_visibility()

nb.focus_force()
print nb.select()
nb.event_generate('Key-Right')
print nb.select()

--

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



[issue8204] test_ttk_guionly assertion error on 3.x linux 64-bit

2010-04-08 Thread Guilherme Polo

Changes by Guilherme Polo ggp...@gmail.com:


Removed file: http://bugs.python.org/file16818/p1.diff

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



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

2009-12-24 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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['menu'] = menu

filemenu = Menu(menu)
menu.add_cascade(label=File, menu=filemenu, underline=0)
filemenu.add_command(label=New, accelerator=Ctrl+N)

root.geometry(300x300)
root.mainloop()

--
nosy: +gpolo
resolution:  - rejected
status: open - closed

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



[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 ggp...@gmail.com 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 generated from python trunk so if
you want to apply it by hand you will need to check what file it changed
(first lines on it) and then check line offsets (@@ ... @@) to know
where to hand-apply each hunk. Applying any patch this way may cause
more trouble than anything else, be careful.

--
status: pending - open
versions: +Python 2.6, Python 2.7, Python 3.2

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



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

2009-08-22 Thread Guilherme Polo

Changes by Guilherme Polo ggp...@gmail.com:


--
nosy: +gpolo
versions:  -Python 2.6, Python 3.1

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



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

2009-08-22 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

Have you looked into issue700921 already ? It seems a lot of discussion
was generated there, but no patches.

--

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



[issue700921] Wide-character curses

2009-08-22 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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 rep...@bugs.python.org
http://bugs.python.org/issue700921
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue700921] Wide-character curses

2009-08-22 Thread Guilherme Polo

Changes by Guilherme Polo ggp...@gmail.com:


--
status: open - closed

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



[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 ggp...@gmail.com:


--
stage: needs patch - 
type: performance - behavior

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



[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 ggp...@gmail.com 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

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



[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 ggp...@gmail.com 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 _bsddb extension doesn't get built
but I do care that some others get compiled successfully.

--

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



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

2009-08-20 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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:  - wont fix
status: open - closed

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



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

2009-08-20 Thread Guilherme Polo

Changes by Guilherme Polo ggp...@gmail.com:


--
components: +Tkinter -IDLE

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



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

2009-08-20 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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.

 Thank you for giving an update. Was it reported as a bug in this tracker?
 Do you know the bug number?

It was reported here, yes. I was able to find issue4342 which talks
about this, from what I remember it is r59653 which needed to be
backported but wasn't. There was another issue where I pointed out the
fixes that should be applied if someone wanted to use Tcl/Tk 8.5, with
fewer issues, together with Python 2.5 but right now I don't remember
on which issue I wrote this.

--

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



[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 ggp...@gmail.com 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 couldn't be built, but the rest of Python were compiled
successfully.

--
nosy: +gpolo

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



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

2009-08-18 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

This has been fixed on r74507 now.

--
resolution:  - accepted
status: open - closed

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



[issue1250469] Tix: PanedWindow.panes nonfunctional

2009-08-18 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

Fix has been committed on r74508.

--
resolution:  - accepted
status: open - closed

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



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

2009-08-18 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

Committed on r74509.

--
resolution:  - accepted
status: open - closed

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



[issue1522587] Tix.Grid patch

2009-08-18 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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 - closed

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



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

2009-08-18 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

Committed on r74517.

--
resolution:  - fixed
status: open - closed

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



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

2009-08-18 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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 options by Tix ?
If so, shouldn't command, disablecallback, label, state, value
and variable be added here as well ?

--
nosy: +gpolo
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5

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



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

2009-08-18 Thread Guilherme Polo

Changes by Guilherme Polo ggp...@gmail.com:


--
resolution: accepted - fixed

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



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

2009-08-18 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

 This has been fixed on r74507 now.

py3k branch: r74518.

--

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



[issue1250469] Tix: PanedWindow.panes nonfunctional

2009-08-18 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

py3k branch: r74518.

--
resolution: accepted - fixed

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



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

2009-08-18 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

py3k branch: r74518.

--
resolution: accepted - fixed

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



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

2009-08-18 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

py3k branch: r74518.

--

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



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

2009-08-18 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

py3k branch: r74518.

--

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



[issue1522587] Tix.Grid patch

2009-08-18 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

py3k branch: r74518.

--
resolution: accepted - fixed

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



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

2009-08-18 Thread Guilherme Polo

Changes by Guilherme Polo ggp...@gmail.com:


--

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



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

2009-08-18 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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 and they already work fine.
 I could try the other options if that would help.


Now I see, it is a problem in the Tix manual. Some commands around
there document which options are static and which are not. For
OptionMenu, 'labelside' is an static option but is not described as
such.

Fixed on r74519.

 I needed the labelside functionality so I hacked Tix.py to get it to
 work. I mimicked the code from other objects that have a labelside
 option. My assumption was that some base class knew how to handle many
 of the standard options, but did not know about labelside. It is
 possible that there is a better way to handle this (add it to the same
 place the others are implemented), but that would have required
 understanding the class hierarchy and much more work. At the time I just
 needed to get it to work and what I proposed does work and is consistent
 with other objects. Since I was not using the other options I did not
 check them.

 Let me know if there is anything else I can do to help.

It looks like Tix.py might need a review on this area of static
options. Tix's documentation doesn't help much, so it will require
some manual testing.

--

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



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

2009-08-18 Thread Guilherme Polo

Changes by Guilherme Polo ggp...@gmail.com:


--
resolution:  - fixed
status: open - closed
type: feature request - 

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



[issue6244] Support for tcl 8.6

2009-08-16 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

This has been committed now, r74471,74472 (trunk) and r74473 (py3k).

--
resolution:  - accepted
status: open - closed

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



[issue6702] Tkinter: modify xview of entry widget

2009-08-14 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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 - closed

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



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

2009-08-14 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

Committed on r74446, will merge into py3k.

--
resolution:  - accepted
status: open - closed

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



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

2009-08-14 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

Committed on r74447, will merge into py3k.

--
resolution:  - accepted
status: open - closed

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



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

2009-08-14 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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 rep...@bugs.python.org
http://bugs.python.org/issue1135
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-08-14 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

This is now obsolete since r74448 and r74449, closing.

--
status: open - closed

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



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

2009-08-14 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

 This has been commited on r74448 now, will merge into py3k.

py3k: r74450

--

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



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

2009-08-14 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

 Committed on r74447, will merge into py3k.

py3k: r74450

--

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



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

2009-08-14 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

 Committed on r74446, will merge into py3k.

py3k: r74450

--

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



[issue5150] IDLE to support reindent.py

2009-08-13 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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 rep...@bugs.python.org
http://bugs.python.org/issue5150
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-08-13 Thread Guilherme Polo

New submission from Guilherme Polo ggp...@gmail.com:

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 behaviour was changed there
unintentionally. Its log message doesn't seem to mention this change,
that is why I'm thinking this.

--
components: IDLE
messages: 91536
nosy: gpolo
severity: normal
status: open
title: IDLE no longer opens only an edit window when configured to do so
versions: Python 2.7, Python 3.1, Python 3.2

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



[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 ggp...@gmail.com:

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
keywords: patch
messages: 91537
nosy: gpolo
severity: normal
status: open
title: IDLE: Warn user about overwriting a file that has a newer version on 
filesystem
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file14714/check_stmtime.diff

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



[issue1721083] Add File - Reload

2009-08-13 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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, but that's a different request.

--

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



[issue1612262] Class Browser doesn't show internal classes

2009-08-12 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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.

--
keywords: +patch
nosy: +gpolo
Added file: http://bugs.python.org/file14699/show_nested_objects.diff

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



[issue6691] Support for nested classes and function for pyclbr

2009-08-12 Thread Guilherme Polo

New submission from Guilherme Polo ggp...@gmail.com:

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.

--
components: Library (Lib)
files: pyclbr_nested_objects.diff
keywords: patch
messages: 91508
nosy: gpolo
severity: normal
status: open
title: Support for nested classes and function for pyclbr
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file14703/pyclbr_nested_objects.diff

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



[issue6691] Support for nested classes and function for pyclbr

2009-08-12 Thread Guilherme Polo

Changes by Guilherme Polo ggp...@gmail.com:


Removed file: http://bugs.python.org/file14703/pyclbr_nested_objects.diff

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



[issue6691] Support for nested classes and function for pyclbr

2009-08-12 Thread Guilherme Polo

Changes by Guilherme Polo ggp...@gmail.com:


--
dependencies: +Support for nested classes and function for pyclbr
Added file: http://bugs.python.org/file14704/classbrowser_nesting_support.diff

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



[issue6691] Support for nested classes and function for pyclbr

2009-08-12 Thread Guilherme Polo

Changes by Guilherme Polo ggp...@gmail.com:


Removed file: http://bugs.python.org/file14704/classbrowser_nesting_support.diff

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



[issue6691] Support for nested classes and function for pyclbr

2009-08-12 Thread Guilherme Polo

Changes by Guilherme Polo ggp...@gmail.com:


--
dependencies:  -Support for nested classes and function for pyclbr
Added file: http://bugs.python.org/file14705/pyclbr_nested_objects.diff

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



[issue1612262] Class Browser doesn't show internal classes

2009-08-12 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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 file: http://bugs.python.org/file14706/classbrowser_nesting_support.diff

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



[issue1612262] Class Browser doesn't show internal classes

2009-08-12 Thread Guilherme Polo

Changes by Guilherme Polo ggp...@gmail.com:


Removed file: http://bugs.python.org/file14699/show_nested_objects.diff

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



[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 ggp...@gmail.com:


--
superseder:  - Idle hangs when given a nonexistent filename.

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



[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 ggp...@gmail.com:


--
superseder: Idle hangs when given a nonexistent filename. - 

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



[issue4985] Idle hangs when given a nonexistent filename.

2009-08-12 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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))

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



[issue1207589] Right Click Context Menu

2009-08-10 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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, then it is assumed
that the entry doesn't require such thing.

Attaching a patch that does that. It also adds cut/copy/paste to the
right menu in IDLE shell.

--
Added file: http://bugs.python.org/file14685/rightmenu_copypastecut.diff

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



[issue1207589] Right Click Context Menu

2009-08-10 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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 tracker rep...@bugs.python.org
http://bugs.python.org/issue1207589
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-08-08 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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 fixes this and also uses
Tcl_GetStringFromObj, instead of directly accessing the bytes member of
a tcl object, so we know its string representation is not invalid.

--
Added file: http://bugs.python.org/file14677/issue1028_2.diff

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



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

2009-08-07 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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

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



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

2009-08-07 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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 rep...@bugs.python.org
http://bugs.python.org/issue1028
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6168] Missing Shell menu in Linux IDLE

2009-08-07 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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: open - closed

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



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

2009-08-07 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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).

I'm only writing this because, as other places that deal with tcl
objects, more care must be taken. For instance, I have applied the
issue1028.diff on the tk_and_idle_maintenance branch and found two
problems that are now patched by adjusts1.diff. It is very likely that
there are other bugs around, I'll be trying some tkinter applications to
try to find some of them but help is very much needed. Note that there
are some tkinter tests on this tk_and_idle_maintenance and they all
pass, but they do not fully cover tkinter at this moment so improving
them would be good too.

--
Added file: http://bugs.python.org/file14675/adjusts1.diff

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



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

2009-08-07 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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
status: open - closed

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



[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 ggp...@gmail.com:


--
resolution:  - out of date
status: open - closed

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



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

2009-08-06 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com added the comment:

This isn't going to happen, closing.

--
resolution:  - wont fix
status: open - closed

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



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

2009-08-05 Thread Guilherme Polo

New submission from Guilherme Polo ggp...@gmail.com:

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: 91322
nosy: gpolo
priority: low
severity: normal
status: open
title: idlelib/rpc.py missing exit status on exithook
versions: Python 2.6, Python 2.7, Python 3.1
Added file: http://bugs.python.org/file14658/missing_exitstatus.diff

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



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

2009-08-05 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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=revrevision=74320

I started trying to test rpc.RPCClient together with run.main but it
seemed too high level. Then I moved to try to test rpc.SocketIO
directly, but it seems I'm doing wrong things there. Most of times
SocketIOTest will fail by raising ValueError which then causes the
server process to finish and either cause a Connection reset by peer,
Broken pipe or nothing (these are on Linux, on Windows I would expect
to get An existing connection was forcibly closed by the remote host).
Sometimes it also succeeds.

--
versions: +Python 2.7, Python 3.1 -Python 3.0

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



[issue3961] Arrows key do not browse in the IDLE

2009-08-04 Thread Guilherme Polo

Guilherme Polo ggp...@gmail.com 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 that you didn't
have the development package of readline installed (it is
libreadline5-dev on ubuntu), which would cause the problem you described
when using the standard python shell.

--
components:  -IDLE
resolution:  - invalid
status: open - closed

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



  1   2   3   4   5   6   7   >