[issue4913] wave.py writes 16 bit sample files of half the correct duration

2009-01-11 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Oops, _framesize already takes sampwidth into account. So there is a problem somewhere else, since reading the wave file is returning the number of frames multiplied by the sampwidth. ___ Python tracker rep

[issue4913] wave.py writes 16 bit sample files of half the correct duration

2009-01-11 Thread Guilherme Polo
Changes by Guilherme Polo ggp...@gmail.com: Removed file: http://bugs.python.org/file12688/issue_4913.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4913

[issue4913] wave.py writes 16 bit sample files of half the correct duration

2009-01-11 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Given the name of the function related to the problem: writeframesraw, it seems to be more correct to remove the sampwidth multiplication from the other case (not add it in the other one), since you must already pass the data multiplied

[issue4913] wave.py writes 16 bit sample files of half the correct duration

2009-01-11 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Ah, yes :) But in the other case (the one where it is currently multiplied) the multiplication happens because data is formatted to either bytes, shorts or longs, so without the multiplication data length would end up being divided by 1, 2 or 4

[issue4890] handling empty text search pattern in tkinter

2009-01-09 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: I don't know what I was thinking when I said that, the check you are doing in the patch is fine. And just to answer your next question: it would raise ValueError. Also, it would be good to add the other missing search switches. -- nosy

[issue1622010] Tcl/Tk auto-expanding window

2009-01-07 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: I can't reproduce this on python 2.4.4 (or any newer version) using windows vista, so this is either specific to the tk included in python 2.4.2 or tk and your specific os version. If you still have this problem, report it at http

[issue814654] 'import Tkinter' causes windows missing-DLL popup

2009-01-07 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: The bug mentioned by the OP doesn't occur with the newer installers, closing. -- nosy: +gpolo resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http

[issue1222721] tk + setlocale problems...

2009-01-07 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: The problem with the backspace key was fixed in python 2.6 when using the windows installer at least. I didn't check yet if it is specific to tcl/tk or if it involves tkinter. ___ Python tracker rep

[issue4676] python3 closes + home keys

2009-01-05 Thread Guilherme Polo
Changes by Guilherme Polo ggp...@gmail.com: -- versions: +Python 2.6, Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4676

[issue4676] python3 closes + home keys

2009-01-05 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: It would be nice if the OP could confirm that the bug described by Daniel is the same one as he gets. I can reproduce it on linux on all the versions I marked, but didn't have time to fix it yet. To the OP: If you are running Windows, try

[issue4676] python3 closes + home keys

2009-01-05 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Patch against trunk attached. It fixes only the first problem reported, and I can't reproduce the second one. -- keywords: +patch Added file: http://bugs.python.org/file12601/issue_4676.diff

[issue4836] Idle Hangs on exit Button

2009-01-05 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Can you add some example ? Is the bug new to python 2.6 ? -- nosy: +gpolo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4836

[issue4840] Compile dbm in Ubuntu

2009-01-05 Thread Guilherme Polo
Changes by Guilherme Polo ggp...@gmail.com: -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4840

[issue4844] ZipFile doesn't range check in _EndRecData()

2009-01-05 Thread Guilherme Polo
Changes by Guilherme Polo ggp...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file12603/issue4844.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4844

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Victor, you seem to be confusing code that supports it with functions that use it. There are some conditional code inside Tkapp_MainLoop that depends on self being available, that is what Martin meant by code that supports it, and since it would

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Martin v. Löwis mar...@v.loewis.de added the comment: Now, I'm much more in favour to remove it from moduleMethods than from adjusting it to work in py3k. Would you apply the same reasoning to the other Tkapp methods available on _tkinter

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Martin v. Löwis mar...@v.loewis.de added the comment: But I don't see a RPC being used there, I just see some polling. Consider Tkapp_Call (e.g.). If this is invoked in the Tk interpreter thread, then there is a direct call to Tcl_EvalObjv

[issue4823] idle height and place

2009-01-03 Thread Guilherme Polo
Changes by Guilherme Polo ggp...@gmail.com: -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4823

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Here is a patch, two actually. The next one deprecates the functions in trunk Added file: http://bugs.python.org/file12574/issue3638.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread Guilherme Polo
Changes by Guilherme Polo ggp...@gmail.com: Added file: http://bugs.python.org/file12575/deprecated_funcs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3638

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: These look fine. I think further changes are necessary: tkinter/__init__.py tries to load createfilehandler/deletefilehandler; this becomes redundant. Indeed, I forgot to look into the Python code. I also see as redundant the checks

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: I get an empty string with the text below, but I was expecting some s/text/test ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3638

[issue3638] Remove module level functions in _tkinter that depend on TkappObject

2009-01-03 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Thanks Martin, trunk: r68231 (blocked on py3k) py3k: r68237 release30-maint: r68239 -- resolution: - fixed status: open - closed title: tkinter.mainloop() is meaningless and crash: remove it - Remove module level functions

[issue3638] Remove module level functions in _tkinter that depend on TkappObject

2009-01-03 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Uh, I forgot about the code removal in __init__ in the first commits. r68242, r68244 now ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3638

[issue2983] Ttk support for Tkinter

2009-01-03 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Do you still need a review for this, Guilherme? If you just need a quick code check I can see if I can make the time for this, but my tkinter knowledge is lacking so it won't be very in-depth. Hopefully this is all isolated enough that even

[issue2983] Ttk support for Tkinter

2009-01-03 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: As for the testing question, I am not sure I understand what you are asking. Are you asking if the tests can stay integrated with tkinter's existing tests? There are no tests for tkinter, except for some few ones for _tkinter basic

[issue2754] Mac version of IDLE doesn't scroll as expected

2009-01-02 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: I see some issues related to scrolling under macosx were fixed in tk 8.4.13, but I can't test them since I don't have a mac. If scrolling doesn't work with the example below then I can just say the problem is indeed with tk, but you could try

[issue1482122] Shift+Backspace exhibits odd behavior

2009-01-02 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: I'm closing this as won't fix but let me tell what you can do to solve the problem yourself (this may be added somewhere else then, like in the tkinter wiki). First, check the keysym you get when pressing Shift-BackSpace: import Tkinter def

[issue1482122] Shift+Backspace exhibits odd behavior

2009-01-02 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Just for future reference it is now on http://tkinter.unpy.net/wiki/Linux_Shift-Backspace ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1482122

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

2009-01-02 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: I would actually prefer to move xview and yview method to classes like it was done in xview_yview.patch (I've done this on a personal branch some time ago too, but named them as XScroll, YScroll), we can see they are used in several places

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

2009-01-02 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Fixed the issue now. _tkinter.call needs to use the TCL_EVAL_GLOBAL flag since all the variables in Tkinter are global variables. Matthias: your issue about the pattern should be placed in a different issue. -- keywords: +patch

[issue4539] askdirectory() in tkinter.filedialog is broken

2008-12-31 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: I was about to mark this as invalid when I found out I had patched tkinter/filedialog.py myself. Nevertheless, this is a duplicate of issue4406 -- nosy: +gpolo resolution: - duplicate status: open - closed

[issue4406] In Lib\tkinter\filedialog.py, class Directory define loss a_

2008-12-31 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: I'm moving this to release blocker since it went unnoticed in the 3.0 release. -- priority: - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4406

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

2008-12-31 Thread Guilherme Polo
New submission from Guilherme Polo ggp...@gmail.com: Right now PythonCmd is using the Tcl interpreter stored in self-interp, but this is unsafe and since it is a Tcl_CmdProc it already receives the Tcl interpreter as a parameter. Using the interpreter in self-interp is unsafe because Python

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2008-12-31 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: On Wed, Dec 31, 2008 at 2:24 PM, Antoine Pitrou rep...@bugs.python.org wrote: Antoine Pitrou pit...@free.fr added the comment: tkinter.mainloop seems used in a bunch of places according to Google Code. Am I missing something? Yes, those

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2008-12-31 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: On Wed, Dec 31, 2008 at 2:27 PM, Guilherme Polo rep...@bugs.python.org wrote: Guilherme Polo ggp...@gmail.com added the comment: On Wed, Dec 31, 2008 at 2:24 PM, Antoine Pitrou rep...@bugs.python.org wrote: Antoine Pitrou pit...@free.fr

[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2008-12-31 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Eh.. old. Anyway, I have made a patch against trunk now and it should work with any nested level of cloned menus according to how tk names cloned menus. -- nosy: +gpolo versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python

[issue995925] method after() and afer_idle() are not thread save

2008-12-31 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: This is not going to happen. You should be protecting it yourself since this is a special case. -- nosy: +gpolo resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org

[issue2693] IDLE doesn't work with Tk 8.5

2008-12-31 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Closing as only r59654 was backported to release25-maint, so Tk 8.5 is not fully supported by the standard Tkinter present in python 2.5.x -- resolution: - wont fix status: open - closed ___ Python

[issue2693] IDLE doesn't work with Tk 8.5 under python 2.5 and older

2008-12-31 Thread Guilherme Polo
Changes by Guilherme Polo ggp...@gmail.com: -- title: IDLE doesn't work with Tk 8.5 - IDLE doesn't work with Tk 8.5 under python 2.5 and older ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2693

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

2008-12-31 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Can you retry making some small example that demonstrates the problem ? -- nosy: +gpolo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2995

[issue2638] tkSimpleDialog Window Flashing

2008-12-31 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Dropped for inclusion in python 2.5, but should still be considered for trunk and py3k. -- resolution: - accepted versions: +Python 2.7, Python 3.0, Python 3.1 -Python 2.5 ___ Python tracker rep

[issue4793] Glossary incorrectly describes a decorator as merely syntactic sugar

2008-12-31 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Your example doesn't disprove the merely syntactic sugar found in the documentation about the decorator syntax. The results you are getting are based on when the decorator is applied. -- nosy: +gpolo resolution: - invalid status: open

[issue3248] ScrolledText can't be placed in a PanedWindow

2008-12-29 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: On Mon, Dec 29, 2008 at 2:02 PM, Martin v. Löwis rep...@bugs.python.org wrote: Martin v. Löwis mar...@v.loewis.de added the comment: Notice that the example function doesn't actually work; it gives _tkinter.TclError: wrong # args: should

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

2008-12-29 Thread Guilherme Polo
Changes by Guilherme Polo ggp...@gmail.com: ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3833 ___ ___ Python-bugs-list mailing list Unsubscribe: http

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

2008-12-29 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Jimmy Retzlaff (msg73003): I'm seeing the same symptoms that are described in issue 1543 with the 2.6b3 MSIs. Namely, when you run one of the MSIs (either 32-bit or 64-bit) then the other will refuse to install. This is on XP Pro x64 SP2

[issue4760] cmp gone---What's new in 3.1

2008-12-29 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Uhm ? The builtin cmp wasn't removed. -- nosy: +gpolo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4760

[issue1524639] Fix Tkinter Tcl-commands memory-leaks

2008-12-22 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: I hope you are not too bored for me commenting on this again. So, I have re-though about this issue today and decided to solve it differently (and will include a patch here this time, don't worry about mentions to external repo this time

[issue1524639] Fix Tkinter Tcl-commands memory-leaks

2008-12-22 Thread Guilherme Polo
Changes by Guilherme Polo ggp...@gmail.com: Removed file: http://bugs.python.org/file12427/keep_tclcommands_correct.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1524639

[issue1524639] Fix Tkinter Tcl-commands memory-leaks

2008-12-22 Thread Guilherme Polo
Changes by Guilherme Polo ggp...@gmail.com: Added file: http://bugs.python.org/file12430/keep_tclcommands_correct.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1524639

[issue1706039] Added clearerr() to clear EOF state

2008-12-21 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: It isn't being careful when calling PyErr_SetFromErrno inside the Py_UniversalNewlineFread function since this function is being called all over fileobject after releasing the GIL.. so, isn't this just a matter of adding pairs

[issue1706039] Added clearerr() to clear EOF state

2008-12-21 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: On Sun, Dec 21, 2008 at 9:52 PM, Martin v. Löwis rep...@bugs.python.org wrote: Martin v. Löwis mar...@v.loewis.de added the comment: It isn't being careful when calling PyErr_SetFromErrno inside the Py_UniversalNewlineFread function since

[issue4701] range objects becomes hashable after attribute access

2008-12-19 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: You don't need to cast PyObject_HashNotImplemented to hashfunc -- nosy: +gpolo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4701

[issue4701] range objects becomes hashable after attribute access

2008-12-19 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: On Fri, Dec 19, 2008 at 2:02 PM, Hagen Fürstenau rep...@bugs.python.org wrote: Hagen Fürstenau hfuerste...@gmx.net added the comment: Why does every other place seem to do the cast? Historical reasons? No, if you look at the functions

[issue4701] range objects becomes hashable after attribute access

2008-12-19 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: On Fri, Dec 19, 2008 at 2:14 PM, Hagen Fürstenau rep...@bugs.python.org wrote: Hagen Fürstenau hfuerste...@gmx.net added the comment: I'm talking about places like these: [hag...@chage py3k]$ grep -R (hashfunc)PyObject_HashNotImplemented

[issue1524639] Fix Tkinter Tcl-commands memory-leaks

2008-12-17 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Fix: My previous comment was about changes in Misc.deletecommand not Misc.destroy (this is what you get for guessing the methods changed in the diff, without applying it). To Quentin: I wouldn't bother mentioning it since this new TkinterError

[issue1524639] Fix Tkinter Tcl-commands memory-leaks

2008-12-17 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Rethinking about the changes done in Misc._configure I found out that you don't need any of those there. Isn't it the case of only improving the changes regarding callable overwriting in Misc._options ? So if the value is a callable

[issue1524639] Fix Tkinter Tcl-commands memory-leaks

2008-12-17 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: The changes in Misc.destroy do not look right, why are you deleting commands created by bind_all (for example) from the root window when a simple widget is destroyed ? It would make more sense to not apply these changes in Misc.destroy

[issue1524639] Fix Tkinter Tcl-commands memory-leaks

2008-12-17 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: I've fixed the leaks in Variable doing this: http://code.google.com/p/plumage/source/detail?r=93 I don't use an extra _tclCommands for Variable, instead in __del__ I use the information returned by Variable.trace_vinfo to remove associated

[issue1524639] Fix Tkinter Tcl-commands memory-leaks

2008-12-17 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: On Wed, Dec 17, 2008 at 3:51 PM, Guilherme Polo rep...@bugs.python.org wrote: Guilherme Polo ggp...@gmail.com added the comment: Rethinking about the changes done in Misc._configure I found out that you don't need any of those there. Isn't

[issue1524639] Fix Tkinter Tcl-commands memory-leaks

2008-12-16 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Something like the proposed patch is still needed. But allow me to point out my views towards your current patch: * Changes in Misc.after, Misc._bind: good * Changes in Misc.unbind can be simplified a bit: cbs = self._bind_names(self._bind

[issue1731706] tkinter memory leak problem

2008-12-16 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Sample attached for demonstrating the leak by missing a call to Tkapp_CallDeallocArgs. -- nosy: +gpolo Added file: http://bugs.python.org/file12373/test_tkleak1.py ___ Python tracker rep

[issue3248] ScrolledText can't be placed in a PanedWindow

2008-12-12 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: On Wed, Dec 10, 2008 at 6:44 AM, Martin v. Löwis rep...@bugs.python.org wrote: Martin v. Löwis mar...@v.loewis.de added the comment: What problem is solved by ScrolledText.diff that isn't already solved by scrolledtext_masterstr.diff? None

[issue4342] (Tkinter) Please backport these

2008-12-12 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: On Wed, Dec 10, 2008 at 6:15 AM, Martin v. Löwis rep...@bugs.python.org wrote: Martin v. Löwis mar...@v.loewis.de added the comment: I'm skeptical about backporting r59654. Doing so might break existing applications. I don't see in what

[issue4342] (Tkinter) Please backport these

2008-12-12 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: On Wed, Dec 10, 2008 at 6:21 AM, Martin v. Löwis rep...@bugs.python.org wrote: Martin v. Löwis mar...@v.loewis.de added the comment: Can you remind me what problem was fixed with r59653? I can't find the Tk tracker anymore on which

[issue4342] (Tkinter) Please backport these

2008-12-12 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: On Fri, Dec 12, 2008 at 9:06 PM, Martin v. Löwis rep...@bugs.python.org wrote: Martin v. Löwis mar...@v.loewis.de added the comment: I don't see in what way it would break existing applications. The indices returned by that command in Tcl

[issue4342] (Tkinter) Please backport these

2008-12-04 Thread Guilherme Polo
Changes by Guilherme Polo [EMAIL PROTECTED]: -- priority: - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4342 ___ ___ Python-bugs

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

2008-12-03 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: I've been working on a new _tkinter (named it as plumage) these days and I hit this same problem for trusting too much that nothing from tcl, including tk and extensions, would give me this embedded null. Checking another bridge to Tcl (one

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

2008-12-03 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: This is indeed a problem with Tkinter only, but I didn't check what is causing it yet. For the suggestion about fixing the search method regarding the pattern: the fix is almost fine, but we need to disallow None as a pattern

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

2008-12-01 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: Some more clarifications about this bug: Tcl shouldn't be giving us a UTF-8 string with a 0xC0 byte, since that is not valid UTF-8. I'm aware that Tcl uses the sequence 0xC0 0x80 for special purposes but it is also said that such sequences

[issue4475] More verbose error message for Py_FindMethod

2008-11-30 Thread Guilherme Polo
New submission from Guilherme Polo [EMAIL PROTECTED]: As was told in http://mail.python.org/pipermail/python-dev/2008-November/083782.html some objects may print a not so nice message when an attribute is not found. I considered this was due to Py_FindMethod being so easy to use

[issue4475] More verbose error message for Py_FindMethod

2008-11-30 Thread Guilherme Polo
Changes by Guilherme Polo [EMAIL PROTECTED]: -- versions: -Python 3.0, Python 3.1 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4475 ___ ___ Python

[issue4475] More verbose error message for Py_FindMethod

2008-11-30 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: Yes, it was a mistake to set the version for py3k too, that is why I removed after noticing it. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4475

[issue4406] In Lib\tkinter\filedialog.py, class Directory define loss a_

2008-11-24 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: Actually it should be commondialog.Dialog -- keywords: +patch nosy: +gpolo Added file: http://bugs.python.org/file12118/Directory_fix_subclass.diff ___ Python tracker [EMAIL PROTECTED] http

[issue4406] In Lib\tkinter\filedialog.py, class Directory define loss a_

2008-11-24 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: It is important to commit this actually, since right now tkinter.filedialog.Directory is pretty broken but also very simple to fix. -- components: +Tkinter -Library (Lib) type: compile error

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

2008-11-24 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: There is a more general patch on issue4350 now ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue775309

[issue1532] Refleak run of test_tcl fails

2008-11-24 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: Disable it while running regrtest with -R ? -- keywords: +patch nosy: +gpolo Added file: http://bugs.python.org/file12120/disable_testLoadTkFailure_in_regrtest.diff ___ Python tracker [EMAIL

[issue1191726] about shift key

2008-11-24 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: I can reproduce this under windows vista with tk8.4 and tk8.5, but the problem doesn't show up in Linux and it is not tkinter fault either. -- nosy: +gpolo Added file: http://bugs.python.org/file12121/issue1191726.py

[issue1191726] about shift key

2008-11-24 Thread Guilherme Polo
Changes by Guilherme Polo [EMAIL PROTECTED]: Added file: http://bugs.python.org/file12122/test1.tcl ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1191726

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

2008-11-21 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: You are missing the point on using Tcl_CreateObjCommand, I didn't mean to just go and and do s/Tcl_CreateCommand/Tcl_CreateObjCommand/ because if you are going to convert everything to unicode then there is no point in using

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

2008-11-21 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: I'm sorry if it sounded like I were bashing you, I was just pointing out my view of the patch -- you didn't need to remove it. The patch I submitted here can also be improved (although it works), but I'm leaving it as a possible idea

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

2008-11-21 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: Hirokazu Yamamoto added the comment: You are missing the point on using Tcl_CreateObjCommand, I didn't mean to just go and and do s/Tcl_CreateCommand/Tcl_CreateObjCommand/ because if you are going to convert everything to unicode

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

2008-11-20 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: issue4333 fixes this too, btw ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1447222 ___ ___ Python-bugs-list

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

2008-11-19 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: tk 8.4.19 here, but windows and linux almost surely uses different window managers (you could run gnome and others under windows, but I'm betting it is not the case). Now, it is very hard to say that we shouldn't care about this bug here. Tcl

[issue4343] New function in Tkinter.py: setup_master

2008-11-18 Thread Guilherme Polo
New submission from Guilherme Polo [EMAIL PROTECTED]: Hi, I've added a new function called setup_master. This function is responsible for returning an usable master to the caller, or fail and say so. The function is useful for any wrapper basically, since all them has to set up a master

[issue4343] New function in Tkinter.py: setup_master

2008-11-18 Thread Guilherme Polo
Changes by Guilherme Polo [EMAIL PROTECTED]: Added file: http://bugs.python.org/file12041/applying_setup_master.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4343

[issue4343] New function in Tkinter.py: setup_master

2008-11-18 Thread Guilherme Polo
Changes by Guilherme Polo [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file12040/setup_master.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4343

[issue4343] New function in Tkinter.py: setup_master

2008-11-18 Thread Guilherme Polo
Changes by Guilherme Polo [EMAIL PROTECTED]: Added file: http://bugs.python.org/file12042/setup_master.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4343

[issue3767] tkColorChooser may fail if no color is selected

2008-11-18 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: I've noticed a problem with the previous patch, so this new one includes a comment too so people can remember about the check being applied. -- versions: +Python 2.5.3, Python 2.7 Added file: http://bugs.python.org/file12043

[issue4345] Implement nb_nonzero for PyTclObject

2008-11-18 Thread Guilherme Polo
New submission from Guilherme Polo [EMAIL PROTECTED]: Implementing it makes this crazy check in http://bugs.python.org/issue3767 (http://bugs.python.org/file12043/tkColorChooser.diff) be no longer needed -- components: Tkinter files: _tkinter__nonzero__.diff keywords: patch messages

[issue4346] PyObject_CallMethod changes the exception message already set by PyObject_GetAttr

2008-11-18 Thread Guilherme Polo
New submission from Guilherme Polo [EMAIL PROTECTED]: Why is PyObject_CallMethod resetting the exception message that is already set (if an exception happened, that is) by PyObject_Getattr ? -- components: Interpreter Core files: abstract_dont_re_set_except_msg.diff keywords: patch

[issue4117] missing update() in _Screen.setup() of Lib/turtle.py

2008-11-18 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: Why are you using update instead of update_idletasks ? I'm not talking exactly about this line being added, but this ends up calling TurtleScreenBase._update which calls self.cv.update(), cv being a canvas. update_idletasks should be used

[issue4350] Remove dead code from Tkinter.py

2008-11-18 Thread Guilherme Polo
New submission from Guilherme Polo [EMAIL PROTECTED]: There are some methods (which call tk commands) that no longer exist, for a long time now so this patch remove them. There are also these indices functions, which do not belong to the module space and now are gone too. -- files

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

2008-11-18 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: I can reproduce it here with tk8.4, using tk8.5 doesn't cause this. -- nosy: +gpolo ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1028

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

2008-11-18 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: Here is a patch that doesn't use magic numbers :P I didn't hit the problem described in issue4313 with this one, and PythonCmd should be doing this anyway, but ideally we should move to Tcl_CreateObjCommand. Added file: http://bugs.python.org

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

2008-11-18 Thread Guilherme Polo
Changes by Guilherme Polo [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file12053/PythonCmd_check_for_utf.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1028

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

2008-11-18 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: Removed some repeated code in the patch Added file: http://bugs.python.org/file12054/PythonCmd_check_for_utf.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1028

[issue4342] (Tkinter) Please backport these

2008-11-17 Thread Guilherme Polo
New submission from Guilherme Polo [EMAIL PROTECTED]: Please consider backporting r59653 and r59654 to release25-maint branch. It may be of interest to backport r52688 too, also, r63776 together with r63914 (without these last two I get segfault when passing a list as an option value). Finally

[issue3248] ScrolledText can't be placed in a PanedWindow

2008-11-17 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: anyone ? -- versions: +Python 2.5.3, Python 2.7, Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3248

[issue3248] ScrolledText can't be placed in a PanedWindow

2008-11-17 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: I've changed it a bit more now, this includes dropping support for cnf. My wish is to actually remove the cnf usage all over Tkinter :) Added file: http://bugs.python.org/file12037/ScrolledText.diff

<    1   2   3   4   5   6   7   >