[issue3038] Return results from Python callbacks to Tcl as Tcl objects, please backport it.

2008-06-04 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: I'm not sure if it is okay to ask this here, but could someone backport r59653 ("Return results from Python callbacks to Tcl as Tcl objects.") to releas25-maint ? Maybe it is already "marked" to be backporte

[issue1702681] Prevent textwrap from breaking words at hyphens

2008-06-03 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: "Duplicate" of issue2659 -- nosy: +gpolo resolution: -> duplicate status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http

[issue1482122] Shift+Backspace exhibits odd behavior

2008-06-03 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: I've tested this on Linux and on Tk 8.4 I got "\b", and the same happened with Tkinter. On Linux, again, with Tk 8.5 I got a rectangle char (something invalid), and this repeated at Tkinter. This is not a Tkinter is

[issue3035] Removing apparently unwanted functions from Tkinter

2008-06-03 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: Patch for removing some unwanted, and probably not used, functions at tkinter/__init__. -- components: Tkinter files: removed_index_funcs.diff keywords: patch, patch messages: 67669 nosy: gpolo severity: normal status: open

[issue1500773] wm_attributes doesn't take keyword arguments

2008-06-03 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: I'm adding my own version, this was done against python-trunk -- nosy: +gpolo Added file: http://bugs.python.org/file10513/issue1500773.diff ___ Python tracker <[EMAIL PRO

[issue3034] tkFont added displayof where necessary

2008-06-03 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Duplicate of #3033, sorry -- resolution: -> duplicate status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3032] tkFont added displayof where necessary

2008-06-03 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: -- resolution: -> duplicate status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3033] tkFont added displayof where necessary

2008-06-03 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: Added support for -displayof where necessary in tkFont -- components: Tkinter files: tkFont_displayof_added.diff keywords: patch, patch messages: 67662 nosy: gpolo severity: normal status: open title: tkFont added displayof

[issue3034] tkFont added displayof where necessary

2008-06-03 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: Added support for -displayof where necessary in tkFont -- components: Tkinter files: tkFont_displayof_added.diff keywords: patch, patch messages: 67663 nosy: gpolo severity: normal status: open title: tkFont added displayof

[issue3032] tkFont added displayof where necessary

2008-06-03 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: -- components: Tkinter keywords: patch nosy: gpolo severity: normal status: open title: tkFont added displayof where necessary versions: Python 2.6 ___ Python tracker <[EMAIL PROTECTE

[issue1730136] tkFont.__eq__ gives type error

2008-06-03 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1730136> ___ ___ Python-bugs-list mailin

[issue1730136] tkFont.__eq__ gives type error

2008-06-03 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Patch added -- keywords: +patch nosy: +gpolo Added file: http://bugs.python.org/file10508/tkFont.Font.__eq__.diff ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue2906] tkinter, assorted fixes

2008-06-02 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: I found a case where the support for values under list or tuple would fail, when the contents contain spaces it needs a proper tcl formatting. I'm attaching a new patch that fixes this. -- resolution: accepted ->

[issue3022] mailbox module, two small fixes

2008-06-01 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Added a test case Added file: http://bugs.python.org/file10498/test_get_message_with_sequences.diff ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3022] mailbox module, two small fixes

2008-06-01 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Erm.. sorry, the first correction is directly related to get_message not get_sequences per se. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3022] mailbox module, two small fixes

2008-06-01 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: While fixing the tkinter demos, I found some problems when moving from mhlib to mailbox that are corrected in the attached patch. The first fix: -for name, key_list in self.get_sequences(): +for name, key_l

[issue3018] tkinter demos fixed

2008-06-01 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: By the way.. the demo tkinter/guido/ss1 isn't fixed, since rexec is gone ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.

[issue3018] tkinter demos fixed

2008-06-01 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3018> ___ ___ Python-bugs-list mailing list

[issue3018] tkinter demos fixed

2008-06-01 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file10492/tkinter_demo_fixes.diff ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3018] tkinter demos fixed

2008-06-01 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10486/tkinter_demo_fixes.diff ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3018] tkinter demos fixed

2008-05-31 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: I forgot to say that some demos weren't fixed by the previous patch, demo/reasons below: guido/ss1rexec is gone guido/MimeViewer can't test it right now guido/mbox can't test it right now guido/

[issue3018] tkinter demos fixed

2008-05-31 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: I've fixed the tkinter demos at py3k. And excluding the import fixes, most of these could be backported to python 2.x too. -- components: Tkinter files: tkinter_demo_fixes.diff keywords: patch messages: 67579 nosy: gpo

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

2008-05-31 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: This is a workaround and seems to be the way to go. -- keywords: +patch Added file: http://bugs.python.org/file10485/Dialog_workaround.diff ___ Python tracker <[EMAIL PROTECTE

[issue3015] tkinter with wantobjects=False has been broken for some time

2008-05-31 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: I've removed wantobjects and substituted some internalRep usage too. Added file: http://bugs.python.org/file10484/remove_wantobjects_internalRep.diff ___ Python tracker <[EMAIL PRO

[issue3015] tkinter with wantobjects=False has been broken for some time

2008-05-31 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: I will agree that wantobjects=False should go, it is also discouraged to use Tcl_GetStringResult because it may lose information. But something should be done at FromObj since it accesses Tcl_Obj fields directly, and it may end up not

[issue3015] tkinter with wantobjects=False has been broken for some time

2008-05-30 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: This affects only py3k, but apparently tkinter has been in this situation for more than 9 months now. I see these lines at _tkinter.c: const char *s = Tcl_GetStringResult(self->interp); const char *p = s; res = PyUnicode_FromStri

[issue1658] "RuntimeError: dictionary changed size during iteration" in Tkinter

2008-05-29 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: There is this same problem at scrolledtext.py (new name). I'm attaching a patch that is a bit different that correct both cases. -- nosy: +gpolo Added file: http://bugs.python.org/file10477/tkinter_iss

[issue2983] Ttk support for Tkinter

2008-05-27 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: Hello, this issue could be considered an extension of issue2618 and maybe I should have continued there but.. continuing, I'm proposing the inclusion of a ttk module (should be renamed to Ttk for python 2.x) that would fit insid

[issue2906] tkinter, assorted fixes

2008-05-25 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10362/fixes_tkinter.diff __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2906] tkinter, assorted fixes

2008-05-25 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: I found a problem in the previous patch, new one added. This patch now only considers tuple and list as possible option value that should be joined, and the items inside the list or tuple should be either a string or integer, otherw

[issue2806] Py30a5: Tk Menu Alt-f behaves differently Linux vs Windows

2008-05-24 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Using a frame and menubutton for creating a menubar has been deprecated for a long time. I tried finding when exactly it got "marked as deprecated", but I found just this page http://wiki.tcl.tk/4055 which says ab

[issue2950] silly readline module problem

2008-05-24 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: You need to install the development package of readline in order to have the readline module compiled. And this is not a bug. -- nosy: +gpolo resolution: -> invalid status: open -> closed __

[issue2806] Py30a5: Tk Menu Alt-f behaves differently Linux vs Windows

2008-05-24 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: I just got an information here.. The new way is the recommended way since Tk 8.0 __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2956] 2to3 should have a way to disable some fixers

2008-05-24 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file10426/fixer_skip2.diff __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2956] 2to3 should have a way to disable some fixers

2008-05-24 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Once I wanted this too. I'm attaching two patches but I prefer the former which allows the skipped fixer(s) to be logged. -- keywords: +patch nosy: +gpolo Added file: http://bugs.python.org/file10425/fixe

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

2008-05-19 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: The workaround is actually setting wantobjects to 0, which I doubt everyone will like. I've talked with a tcl developer and some interesting points were raised from the talk: 1) Looking at typePtr in _tkinter isn't actual

[issue615772] Tkinter.Misc has no __contains__ method

2008-05-19 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Can you tell me why anyone would do `option in widget` ? I don't see the benefit of making tkinter widgets more "dict-like". Do you have some good use cases ? -- nosy: +gpolo ___

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

2008-05-18 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: I just tried it here and it still happens, it also happens for the 11th button and that is it (5th and 11th). I tried it with tk 8.4 and tk 8.5, python-trunk, python 2.5.2. I'm investigating this. For some reason a pixel obje

[issue2908] fix_imports new entries for tkinter rename

2008-05-18 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Hi Georg, sorry but I duplicated the FileDialog entry in tkFileDialog and forgot to update the correct names for tkFileDialog, here is a patch to apply over the previous one. I took the time to review the other entries too, just in

[issue2908] fix_imports new entries for tkinter rename

2008-05-18 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: Added entries on fix_imports to deal with the tkinter renaming. -- assignee: collinwinter components: 2to3 (2.x to 3.0 conversion tool) files: tkinter_imports_fix.diff keywords: patch messages: 67036 nosy: collinwinter,

[issue2906] tkinter, assorted fixes

2008-05-18 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: This patch adds support for Tk options that could be passed as a list or tuple, for example. I didn't investigate if there are any of these in tk 8.4, but tk 8.5 has this (the padding option for Ttk Label, for example). Not

[issue2775] Implement PEP 3108

2008-05-18 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10296/tkinter_package_and_fixes_2.diff __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2839] Moving lib-tk to tkinter package

2008-05-17 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Patch added for handling the merging of tkSimpleDialog into tkinter.simpledialog and tkFileDialog into tkinter.filedialog, specific for py3k. Added file: http://bugs.python.org/file10358/tkinter_modmerge_py3

[issue961805] Text.edit_modified() fails

2008-05-17 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: >From issue 1362475: This bug still exists, I'm attaching a patch against current python-trunk. This patch is based on the fact that documentation tk 8.4 (version which edit command was added) and tk 8.5 says only edit_modifi

[issue1362475] Text.edit_modified() doesn't work

2008-05-17 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Closed as this is yet another duplicate. -- resolution: -> duplicate status: open -> closed superseder: -> Text.edit_modified() fails _ Tracker <[EMAIL PROTECTED]> &l

[issue2839] Moving lib-tk to tkinter package

2008-05-17 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: This new patch handles the merging of tkSimpleDialog into tkinter.simpledialog and tkFileDialog into tkinter.filedialog. After doing it, the old files may be removed from lib-tk: svn del Lib/lib-tk/tkSimpleDialog.py svn del Lib/

[issue1362475] Text.edit_modified() doesn't work

2008-05-16 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: This bug still exists, I'm attaching a patch against current python-trunk. This patch is based on the fact that documentation tk 8.4 (version which edit command was added) and tk 8.5 says only edit_modified is supposed to retur

[issue2839] Moving lib-tk to tkinter package

2008-05-16 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: After merging all these changes in py3k, lib-tk should be removed from sys.path there. Patch added for this. Note that the iss script at PC/VS7.1 should be regenerated Added file: http://bugs.python.org/file10350/remove_libtk_pat

[issue2839] Moving lib-tk to tkinter package

2008-05-16 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file10349/rename_tkdocs.py __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2839] Moving lib-tk to tkinter package

2008-05-16 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Patching for updating the docs added. I've also added a script that should be executed after the patch is applied, it will rename scrolledtext.rst to tkinter.scrolledtext.rst; tix.rst to tkinter.rst and turtle.rst to tkinter

[issue2839] Moving lib-tk to tkinter package

2008-05-16 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: New patch, this one does the following: * Fix tkinter imports in idlelib, pydoc and Canvas (deprecated) * Creates stub modules for all old Tkinter modules, except tkFileDialog and tkSimpleDialog * Updates test_py3kwarn for all these r

[issue2884] Create the tkinter package

2008-05-16 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: I have started doing this at issue 2839, but I need help from someone with available time and commit privs -- nosy: +gpolo __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue429031] Text widget, bindtags and Tabs

2008-05-15 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: The "tab" key is bound globally to move the focus to the next widget, but that is not what you would want for a text widget. So, text widgets breaks the natural flow of tab key events to achieve this, and, when you specify bi

[issue2843] New methods for existing Tkinter widgets

2008-05-12 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: Attached patch adds the following new methods: Misc: grid_anchor Menu: xposition Text: count, peer_create, peer_names, replace Wm: wm_iconphoto, wm_manage, wm_forget These are supported by Tk 8.5 and newer. -- components: T

[issue2839] Moving lib-tk to tkinter package

2008-05-12 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: -- keywords: +patch Added file: http://bugs.python.org/file10310/tkinter_imports.diff __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2839] Moving lib-tk to tkinter package

2008-05-12 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: I've talked with Brett and we agreed on a plan slightly different from the one described in PEP 3108, which seems to be better for tkinter. The first step would be creating a tkinter package and then moving each file in lib-tk

[issue2775] Implement PEP 3108

2008-05-12 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: -- dependencies: +Moving lib-tk to tkinter package __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2775> __

[issue2839] Moving lib-tk to tkinter package

2008-05-12 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: I'm moving lib-tk to a tkinter package, I've sent a patch for this which can be found at issue 2775 but I started wrong (did a patch against py3k directly). -- components: Library (Lib) messages: 66747 nosy: gpolo

[issue2835] Py30a5: webbrowser.open() inf recursion

2008-05-12 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: It doesn't happen here, I'm using Linux too (Ubuntu 8.04) and py3k rev 63074 -- nosy: +gpolo versions: +Python 2.6 -Python 3.0 __ Tracker <[EMAIL PROTECTED]> <http://

[issue2775] Implement PEP 3108

2008-05-11 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10290/tkinter_package_and_fixes.diff __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2775] Implement PEP 3108

2008-05-11 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: New patch regarding the move to tkinter package, now with docs updated. This one should be the "final" patch, and while the patch is relatively large it mostly trivial to review. Added file: http://bugs.pyth

[issue2775] Implement PEP 3108

2008-05-11 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Patch regarding the move to tkinter package added. What this patch does * Moved lib-tk to tkinter and renamed modules according to PEP 3108 * Merged tkFileDialog into filedialog * Merged tkSimpleDialo

[issue2775] Implement PEP 3108

2008-05-11 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: I'm working on the new package tkinter and dialogs merging where appropriate. -- nosy: +gpolo __ Tracker <[EMAIL PROTECTED]> <http://bugs.

[issue2709] tk.rst possibly wrong ?

2008-05-11 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file10284/othergui.rst.diff __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2709] tk.rst possibly wrong ?

2008-05-11 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Hi again, Sorry for not trying harder on this issue, I should have included my own patch(es) on what should be changed. These could be improved tho, of course. Added file: http://bugs.python.org/file10283/tk.rs

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

2008-05-10 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file10260/curselection_tupleint.diff Tracker <[EMAIL PROTECTED]> <http://bugs.python.

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

2008-05-10 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10249/curselection_tupleint.diff Tracker <[EMAIL PROTECTED]> <http://bugs.python.

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

2008-05-10 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10259/curselection_tupleint.diff Tracker <[EMAIL PROTECTED]> <http://bugs.python.

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

2008-05-10 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: I found some code using map(int, curselection..) directly, so this new patch fixes the problem related to returning None when nothing was selected. Added file: http://bugs.python.org/file10259/curselection_tuplein

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

2008-05-10 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Are you aware of any code checking against empty tuple specifically to verify that nothing is selected ? Tracker <[EMAIL PROTECTED]> <http://bugs.python.

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

2008-05-10 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: _getints already call splitlist, so there isn't much point in calling _getints after calling splitlist. And the Tk documentation says an empty string should be returned in case there is no selection, but that is Tk. I don't

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

2008-05-10 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Not sure what you did, but calling _getints didn't raise an exception here neither returned an empty string if no item was selected, it returned None. Added file: http://bugs.python.org/file10249/curselection_tu

[issue2535] duplicate Misc.lower

2008-05-10 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: It hasn't changed that much, but here is a patch against py3k branch rev 62992 -- nosy: +gpolo Added file: http://bugs.python.org/file10245/remove_lowerdup.patch __ Tracker <[EMAIL PRO

[issue2805] 2to3 doesn't correct divisions

2008-05-09 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: If I were to add such fixer, should I wait for changes coming by gsoc projects ? I did a quick pass through 2to3 code a while ago, but I'm very far from understanding it in a good manner so I'm not sure if I should startin

[issue2805] 2to3 doesn't correct divisions

2008-05-09 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: Given the sample code: for i in range(len([1, 2]) / 2): pass print 2 / 3 2to3 tells no files need to be modified after running it over this code, but range doesn't accept float values and the print result will differ. Woul

[issue2709] tk.rst possibly wrong ?

2008-04-28 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: tk.rst tells, among other things: "`Tkinter`'s chief virtues are that it is fast, and that it usually comes bundled with Python. Although it has been used to create some very good applications, including IDLE, it has we

[issue2688] Error when nesting many while loops

2008-04-25 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Apparently this was fixed at rev 52504 python-trunk. Which python version did you use ? -- nosy: +gpolo __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue799428] tk_focusNext() fails

2008-04-24 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Sorry for the previous patch, correct one attached now Added file: http://bugs.python.org/file10088/bugfix_and_revamp_nametowidget.diff Tracker <[EMAIL PROTECTED]> <http://bugs.python.

[issue799428] tk_focusNext() fails

2008-04-24 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10087/bugfix_and_revamp_nametowidget.diff Tracker <[EMAIL PROTECTED]> <http://bugs.python.

[issue799428] tk_focusNext() fails

2008-04-24 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: There was a problem with my previous patch if the widget name was just '.' New patch attached Added file: http://bugs.python.org/file10087/bugfix_and_revamp_nametowidget.diff Tracker &

[issue799428] tk_focusNext() fails

2008-04-24 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9938/bugfix_and_revamp_nametowidget.diff Tracker <[EMAIL PROTECTED]> <http://bugs.python.

[issue1529142] Allowing multiple instances of IDLE with sub-processes

2008-04-16 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: I tested under Linux (Ubuntu distro), Python trunk _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1529142] Allowing multiple instances of IDLE with sub-processes

2008-04-16 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Works fine for me, I just dislike that Port binding error message because it is a bit misleading. It says "IDLE can't bind any TCP/IP port, ..." which is not entirely true. --

[issue2638] tkSimpleDialog Window Flashing

2008-04-15 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Isn't overrideredirect only used to enable/disable borders in the window ? Why doing this fix what you described ? Also, make a patch against python-trunk instead of sending the entire file. -- n

[issue2622] Import errors in email.message.py

2008-04-12 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Can you send a sample code that reproduces that ? __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2622> __

[issue2622] Import errors in email.message.py

2008-04-12 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: You may not like the naming applied there, but surely it is not a import error. Can you actually manage to get an ImportError ? -- nosy: +gpolo __ Tracker <[EMAIL PROTECTED]> <http://

[issue2240] setitimer, getitimer wrapper

2008-04-12 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9623/setitimer_getitimer_wrapper_test.diff __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2240] setitimer, getitimer wrapper

2008-04-12 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9620/setitimer_getitimer_wrapper_doc.diff __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2240] setitimer, getitimer wrapper

2008-04-12 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9622/setitimer_getitimer_wrapper_doc_update.diff __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2240] setitimer, getitimer wrapper

2008-04-12 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9619/setitimer_getitimer_wrapper_fixes.diff __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2240] setitimer, getitimer wrapper

2008-04-12 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9615/setitimer_getitimer_wrapper_rename.diff __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2240] setitimer, getitimer wrapper

2008-04-12 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9613/setitimer_getitimer_wrapper.diff __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2240] setitimer, getitimer wrapper

2008-04-12 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9611/py-itimer-0.1.2.tar.gz __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2618] Tile module: Add support for themed widgets

2008-04-11 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Is this complete ? I see several methods with just a pass, where the docstring says it returns a dict, for example. -- nosy: +gpolo __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2606] trace module crashes due to using wrong sort idiom

2008-04-10 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: I've changed them to sorted(obj.keys()) -- keywords: +patch nosy: +gpolo Added file: http://bugs.python.org/file9996/issue_2606.diff __ Tracker <[EMAIL PROTECTED]> <http://bugs.

[issue2585] urllib2.HTTPError broken due to urllib.addinfourl changes

2008-04-09 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: It seems the fix is just passing code to addinfourl __init__, not sure if someone forgot this or this is just totally wrong. Patch added. -- keywords: +patch nosy: +gpolo Added file: http://bugs.python.org/file9992/urllib2_258

[issue2564] Python hangs on FreeBSD7 in test_capi

2008-04-08 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Hi Trent, FreeBSD 7 uses libthr as default, which would possibly eliminate this problem. -- nosy: +gpolo __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2577] cmd.py should track input file objects so macros with submacros can be easily written

2008-04-07 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: You should include a diff, not the entire file with your changes -- nosy: +gpolo __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2240] setitimer, getitimer wrapper

2008-04-07 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Trent Nelson kindly gave me access to his FreeBSD 6.2 buildbot so I had chance to do some tests. The problem happens when Python is built against or libc_r, or if you are using libmap you won't need to recompile but the problem st

[issue2240] setitimer, getitimer wrapper

2008-04-05 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: FreeBSD's man page for setitimer/getitimer doesn't look different from the one in Linux. But.. both tests assumes the computer is not so fast that it finishes "for i in xrange(1)" before the timer expire, ma

<    1   2   3   4   5   6   7   >