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

2011-07-14 Thread Guilherme Polo
Guilherme Polo 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 <http://bugs.python.org/issue12

[issue539907] Tkinter lock conflicts extension widgets

2010-08-17 Thread Guilherme Polo
Guilherme Polo 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 in

[issue1730136] tkFont.__eq__ gives type error

2010-09-20 Thread Guilherme Polo
Guilherme Polo added the comment: Closing this again in favor of issue9899. -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue1

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

2010-09-25 Thread Guilherme Polo
Guilherme Polo 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 ra

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

2010-09-26 Thread Guilherme Polo
Guilherme Polo 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",

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

2010-09-26 Thread Guilherme Polo
Guilherme Polo added the comment: You should convert the whole expressions actually, but that is because the patch wasn't done for py3k. -- ___ Python tracker <http://bugs.python.org/i

[issue6549] ttk.Style not translating some Tcl options

2011-02-22 Thread Guilherme Polo
Guilherme Polo 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 > sett

[issue11387] Tkinter, callback functions

2011-03-06 Thread Guilherme Polo
Guilherme Polo 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

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

2011-03-06 Thread Guilherme Polo
Guilherme Polo added the comment: Does the attached patch work for you ? -- keywords: +patch Added file: http://bugs.python.org/file21017/patch11290.diff ___ Python tracker <http://bugs.python.org/issue11

[issue4350] Remove dead code from Tkinter.py

2011-03-06 Thread Guilherme Polo
Guilherme Polo 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,

[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

[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

[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

[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

[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

[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

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

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

[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

[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

[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

[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

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

[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

[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

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

[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

[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

[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

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

[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

[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

[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

[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

[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

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

[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

[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

[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-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-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]>: ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3018> ___ ___ Python-bugs-list mailing list

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

[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

[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

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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[issue3043] Recursion bug in deepcopy

2008-06-05 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: This should have been fixed at 2.2, as long as you change your classes to new-style classes. If it still happens, post a sample code using your new code that uses new-style classes. -- nosy:

[issue3059] Removing s.decode at Lib/calendar.py

2008-06-07 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: I've removed calls to s.decode found at Lib/calendar.py as it is no longer needed in py3k and doesn't even work (since .decode is gone). -- components: Library (Lib) files: no_strdecode.diff keywords: patch mess

[issue3059] Removing .decode calls from Lib/calendar.py

2008-06-07 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: -- title: Removing s.decode at Lib/calendar.py -> Removing .decode calls from Lib/calendar.py ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue1500773] wm_attributes doesn't take keyword arguments

2008-06-07 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10513/issue1500773.diff ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1500773] wm_attributes doesn't take keyword arguments

2008-06-07 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file10548/issue1500773.diff ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue3086] sys.maxsize not available by using the latest Win32 build

2008-06-12 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: I just checked that sys.maxsize was added May 20, so you just need a newer build. -- nosy: +gpolo status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue1774370] Add Tkinter.Checkbutton get() and set(value)

2008-06-16 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: The checkbutton widget doesn't have get and set commands, so I'm not sure why you said to look at its man page. But the idea of not needing to play with SomeVar creation is good, I like it, but then I would prefer to add it

[issue3139] print is not thread safe

2008-06-19 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Wasn't that always known ? Maybe I'm missing something here. -- nosy: +gpolo ___ Python tracker <[EMAIL PROTECTED]> <http://

[issue449227] rlcompleter add "(" to callables feature

2008-06-24 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: This is nearly good. But I have some notes: you don't need to import operator here, just use the built-in callable; stick to <80 columns; leave a space after a comma. -- nosy: +gpolo

[issue449227] rlcompleter add "(" to callables feature

2008-06-24 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: On Tue, Jun 24, 2008 at 3:42 PM, Manuel Muradás <[EMAIL PROTECTED]> wrote: > > Manuel Muradás <[EMAIL PROTECTED]> added the comment: > > Guilherme, > Thanks a lot for taking some time to review my patch. &g

[issue3193] Python 2.5.2 - Python[2420:613] Error loading / flat namespace error

2008-06-24 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Neither pyglet nor anything else you installed is part of Python's source, you will have to re-report this at the appropriate place. -- nosy: +gpolo resolution: -> invalid status:

[issue1774370] Add Tkinter.Checkbutton get() and set(value)

2008-06-26 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: On Thu, Jun 26, 2008 at 1:02 PM, Graham Horler <[EMAIL PROTECTED]> wrote: > > Graham Horler <[EMAIL PROTECTED]> added the comment: >... > When you create a Checkbutton widget without giving a variable=SomeVar, &

[issue1774370] Add Tkinter.Checkbutton get() and set(value)

2008-06-26 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: > Graham Horler <[EMAIL PROTECTED]> added the comment: > >> I'm aware of that and that is why everywhere I see Checkbutton >> being used I see a explicit variable being created. > > Absolutely

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

2008-06-30 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: Right now ScrolledText can't be added to a Tkinter.PanedWindow, also can't be added to a ttk.Notebook (which is not part of the stdlib), because it is a lacking a proper __str__ method. Run the following sample code to ch

[issue3396] rlcompleter can't autocomplete members of callable objects

2008-07-17 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: This is somewhat obscure to notice but the problem is towards that getattr on attr_matches. For "int" specifically, it will try to get the attribute '__abstractmethods__' (which is a member of int.__class__) and wi

[issue2638] tkSimpleDialog Window Flashing

2008-07-17 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: It would be more appropriate to properly use withdraw and deiconify then. I'm attaching a patch that uses them. -- keywords: +patch Added file: http://bugs.python.org/file10931/issu

[issue3405] Add support for the new data option supported by event generate (Tk 8.5)

2008-07-18 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: Follows a patch that adds support for the new data option supported event generate. It allows virtual events to pass a tcl object. This patch is only intended to correctly support tcl objects, trying to pass other objects (like

[issue3372] socket.setsockopt() is broken for multicast TTL and Loop options

2008-07-18 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: This is already fixed in release24-maint, release25-maint, trunk and py3k. -- nosy: +gpolo resolution: -> out of date status: open -> closed ___ Python tracker <[EMAIL PR

[issue3406] LocaleTextCalendar and LocaleHTMLCalendar break without a locale

2008-07-18 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: This was fixed in r45302 and r58936 -- nosy: +gpolo resolution: -> out of date status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3405] Add support for the new data option supported by event generate (Tk 8.5)

2008-07-19 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Actually, it could be the "detail" field too according to http://www.tcl.tk/man/tcl8.5/TkCmd/bind.htm#M24 And this field may not exist, so I'm checking for that now. New patch added. Added file: http://bugs

[issue3405] Add support for the new data option supported by event generate (Tk 8.5)

2008-07-19 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10934/event_generate__data.diff ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2983] Ttk support for Tkinter

2008-07-24 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: I've added it to PyPi (http://pypi.python.org/pypi/pyttk) yesterday to facilitate the process of installing the module (without needing to checkout the repo) in the hope that people will use it, and contribute to make it better a

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

2008-07-24 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: Yesterday I read at a maillist about IDLE being able to use the "with" statement in python 2.5 without needing to explicitly doing "from __future__ import with_statement", then today I started tracing the origin

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

2008-07-24 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: "This flag is then converted to PyPARSE_DONT_IMPLY_DEDENT (defined at parsetok.py with a value of 0x0002" Sorry, it is defined at "parsetok.h" of course. ___ Python tracker

[issue3468] Satisfy her lovemaking desire

2008-07-29 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: something going on roundup? -- nosy: +gpolo resolution: -> invalid status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue2902] tkinter uses MacOS

2008-07-31 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: as I understand, MacOS.SchedParams is gone for more than 4 years now (that is why you see this hasattr check everywhere). I doubt removing this MacOS usage will do anything. ___ Python tracker &

[issue3497] a bug in the interpreter?

2008-08-03 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Just run it a couple of times and you will hit the problem in both "failing" and "running" examples you added. -- nosy: +gpolo ___ Python tracker <[EMAIL PROTEC

[issue3538] Docstring typos

2008-08-10 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: 'encoding' and 'errors' refers to the names of the arguments accepted by str, this is not a typo. -- nosy: +gpolo resolution: -> invalid status: open -> closed __

[issue1342811] Tkinter.Menu.delete doesn't delete command of entry

2008-08-16 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Uhm, this patch can cause trouble if not adapted a bit. The index method may return None for either index1 or index2, which will cause a TypeError in that for loop. If code is needed to confirm this, try the following: menu = Tkinte

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

2008-08-16 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: Passing a single directory as a command line argument can make IDLE hang. To achieve this the user needs to configure IDLE to open an editor window by default. The attached patch discards filenames that failed to load, so in the end

[issue2693] IDLE doesn't work with Tk 8.5

2008-08-16 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Hi there, The revisions you are after are r59653 and r59654. I really don't see a reason to not patch release25-maint with those ones. -- nosy: +gpolo ___ Python tracker <[EMAIL PRO

[issue1342811] Tkinter.Menu.delete doesn't delete command of entry

2008-08-18 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: You could return if in that new if statement. As you noted, the None argument is ignored there, that is because _tkinter checks for a None parameter, and if it happens to be a None, it then stops processing new arguments, so this

[issue1342811] Tkinter.Menu.delete doesn't delete command of entry

2008-08-18 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: change this: "You could return if in that new if statement." to: "You could return in that new if statement.", please. ___ Python tracker <[EMAIL PROTECTED]> <

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

2008-08-19 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: May I suggest the inclusion of Tcl/Tk 8.5.4 in the windows binary for the upcoming beta3 ? beta2 included 8.5.3, but now the 8.5.4 bugfix release arrived. -- components: Windows messages: 71427 nosy: gpolo severity: normal

  1   2   3   4   5   6   7   >