Guilherme Polo added the comment:
> With 2.6.2 on Windows, I get filenames surrounded by {}, all in a
> single unicode string.
This string surrounded by { } indicates it is supposed to be a tcl
list, which didn't get converted but should be done by tkFileDialog.
> The change may
Guilherme Polo added the comment:
> With this new patch, is it possible to create a file without extension
> on Windows?
It is tricky but, answering your question, you could enter a name
ending with a period to save without an extension.
It seems this isn't going anywhere then.
Changes by Guilherme Polo :
--
versions: +Python 2.6, Python 2.7
___
Python tracker
<http://bugs.python.org/issue4765>
___
___
Python-bugs-list mailing list
Unsub
Guilherme Polo added the comment:
Interesting, this is reproducible in any version under any OS but it is
more noticeable under Windows. In the step 6 you mentioned, IDLE is busy
printing warnings that you will never see if you don't run IDLE from a
terminal. Also, when you tried resta
Guilherme Polo added the comment:
Richard, IDLE doesn't support browsing the history of the commands
entered (see issue2704), so I believe this is not related to IDLE and I
believe you meant to talk about the standard python shell.
Since you have compiled python yourself it is possible
Changes by Guilherme Polo :
--
nosy: +gpolo
___
Python tracker
<http://bugs.python.org/issue5712>
___
___
Python-bugs-list mailing list
Unsubscribe:
Guilherme Polo added the comment:
Hi Don,
I don't think this is an issue about idle competing for tkinter
resources (or idle and tkinter competing for resources -- the other
meaning I got when reading your message).
>From what I remember this WSAEWOULDBLOCK is just a way for Windows
Guilherme Polo added the comment:
This is a tk issue, so the best way to fix this (if you don't want to
install something newer than Python 2.4 on Windows) is to install a
newer tcl/tk version.
Unfortunately the proposed workaround is way too specific, imagine if
other bindings had si
Guilherme Polo added the comment:
I have done a very initial patch in an attempt to define where we should
go with this feature. There are several different proposals around this
issue and the superseded one, I opted to implement the simplest one
which is to add a 'Revert' entry i
Guilherme Polo added the comment:
Closing this in favour of issue1721083.
--
resolution: -> duplicate
status: open -> closed
superseder: -> Add File - Reload
___
Python tracker
<http://bugs.python.org/
Guilherme Polo added the comment:
This looks good Scott, I'm just attaching the .diff here with real minor
changes and will be applying if no one is against it.
--
keywords: +patch
Added file: http://bugs.python.org/file14638/idle_fixwarnings
Guilherme Polo added the comment:
Amaury, from what I remember your suggestion has been applied some time
ago. Can you check if the newest Windows installer still adds an '-n' by
default ?
--
___
Python tracker
<http://bugs.python.
Guilherme Polo added the comment:
I can't seem to reproduce that, maybe it could be a tk issue ?
Can you try writing anything (that doesn't work on IDLE) on a
tkinter.Text widget to see if it shows there ? You could use this code
below:
from tkinter import Text
text = Te
Guilherme Polo added the comment:
I thought the main point of this issue was to define standard functions,
methods, classes (or something in that sense), in order to make the
creation of tk dialogs uniform across IDLE.
Right now it seems reasonable to keep the parent hidden, but I think it
may
Guilherme Polo added the comment:
I have reviewed the latest patch now, it is nice in general but I
dislike the idea of increasing even more EditorWindow. I would really
prefer to put this somewhere else, like.. idlelib/dialogs.py. Also, I'm
inclined to remove this master/parent hidin
Guilherme Polo added the comment:
I'm attaching a very similar patch that I tested on Linux and Windows.
It just combines the default behaviour with the details required for
Windows, that is, the default extension is set to '.py' for Windows and
'' elsewhere (the de
Guilherme Polo added the comment:
btw, I just added a patch for issue3559 which could be easily adjusted
to work as described in this issue.
--
___
Python tracker
<http://bugs.python.org/issue5
Guilherme Polo added the comment:
This seems to be problematic in general. I have worked on a patch now,
but it fails to succeed while pasting multiple lines. The problem is
that when a second line is pasted, IDLE is still marked as "executing"
so it ends up just pasting the li
Guilherme Polo added the comment:
Closing. I have seen the code changes regarding idle and mac and I
believe this issue has been fixed (some time after the OP started this,
but it has).
--
resolution: -> out of date
status: open ->
Guilherme Polo added the comment:
Hi Mark,
I don't think I remember very well where those element options are used.
For instance, where can you use the 'embossed' option ? Would it be only
when using style.configure/style.map with '.' as the style name ?
Knowing that
Guilherme Polo added the comment:
Interesting.. I tried testing Dialog for that bug, but generating
keypress (you can combine with keyrelease too) doesn't trigger
the problem (very weird to me). I will be simulating mouse clicks to see
if, for some reason, the bug gets noticed.
Attachin
Guilherme Polo added the comment:
I forgot to include the new Grid constants, but I'm ok on adding them.
--
___
Python tracker
<http://bugs.python.org/issu
Guilherme Polo added the comment:
I've reviewed it now and produced a patch based on it, but it doesn't
include undocumented Tix features that were added.
I'm separating this new patch into two parts, the first part isn't
supposed to affect Tix users, so it should be safe t
Guilherme Polo added the comment:
I've tried reproducing this on Windows XP using both Python 2.3.5 and
2.2.3 (and also some newer ones) and couldn't duplicate the issue. I
also tested the file attached on issue837234 and got nothing, changed it
a bit and still got nothing.
I can rep
Guilherme Polo added the comment:
Just adding patch as a .diff
--
keywords: +patch
nosy: +gpolo
versions: +Python 2.7, Python 3.1 -Python 2.6
Added file: http://bugs.python.org/file14335/issue1259434.diff
___
Python tracker
<http://bugs.python.
Changes by Guilherme Polo :
--
versions: +Python 2.7, Python 3.1 -Python 2.6
___
Python tracker
<http://bugs.python.org/issue1250469>
___
___
Python-bugs-list m
Guilherme Polo added the comment:
Is there some reason to prefer .split over .splitlist ? It is very
likely that .split would still return a string if you had a single pane,
while .splitlist would return a tuple with an item on it.
Patch attached.
--
keywords: +patch
nosy: +gpolo
Guilherme Polo added the comment:
I guess this will have to be accepted without any tests, unless someone
can come up with a way to test tk_messageBox under Windows and Mac.
--
keywords: +patch
Added file: http://bugs.python.org/file14333/stringify.diff
Guilherme Polo added the comment:
Uhm, now I'm getting it at around 3 iterations with python-trunk. So,
can't we just use a simple generator for this ? Patch attached.
The same could be done for widget and callback naming.
--
keywords: +patch
Added file: http://bugs.
Guilherme Polo added the comment:
Weird.. I guess no one ever used Tix.Grid ?
--
nosy: +gpolo
___
Python tracker
<http://bugs.python.org/issue1522587>
___
___
Guilherme Polo added the comment:
Closing this in favour of issue6181 as it contains several other minor
fixes in Listbox that now have been tested in the
tk_and_idle_maintenance branch.
--
status: open -> closed
superseder: -> Tkinter.Listbox several minor
Guilherme Polo added the comment:
I don't have access to this file "issue_1600182.py" but it seems you are
forgetting to instantiate Tix.Tk (which will load the 'tix' package)
before creating the Tix.ComboBox.
I'm closing this as it is not a bug in the python tix
Guilherme Polo added the comment:
Although turtle.py lives inside the tkinter package, this doesn't seem
to be related to tkinter at all. I've set the "no selection" option for
the Components now.
--
components: -Tkinter
nosy: +gpolo
__
Guilherme Polo added the comment:
Closing in favour of issue1356969.
--
resolution: -> duplicate
status: open -> closed
superseder: -> Tix.py class HList missing info_bbox, info_dragsite and
info_dropsite
___
Python track
Changes by Guilherme Polo :
--
title: Tix.py class HList missing info_bbox -> Tix.py class HList missing
info_bbox, info_dragsite and info_dropsite
___
Python tracker
<http://bugs.python.org/issue1
Guilherme Polo added the comment:
There you go.
--
Added file:
http://bugs.python.org/file14330/missing_tixhlist_info_subcomands.diff
___
Python tracker
<http://bugs.python.org/issue1356
Guilherme Polo added the comment:
Should info_dragsite and info_dropsite be added too ? (I guess I would
be too lucky to get an answer after ~3 years). I'm preparing a patch but
I don't tend to use Tix, so it would be good if someone else wrote tests
and at least tested the
Guilherme Polo added the comment:
Fine, closing then.
Committed as r73497 on py3k.
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/iss
Guilherme Polo added the comment:
Running tk tests through both Lib/test/test_tk.py and
Lib/test/regrtest.py show the desired behaviour (from what I understood
from your description and from what I tested).
It has been committed now, r73495 (trunk).
Should 2.6 and 3.0 really receive this
Guilherme Polo added the comment:
Finally I'm looking into this again. So, for now, I decided to only move
the tk load tests to Lib/lib-tk/test/test_tkinter under a new module
named test_loadtk. Lib/test/test_tcl remains almost the same, except it
no longer it contain those tests related
Guilherme Polo added the comment:
Please include a diff of this modified Tix.py instead.
--
nosy: +gpolo
___
Python tracker
<http://bugs.python.org/issue1
Guilherme Polo added the comment:
I can get a similar error from time to time, just try it a couple of
times and I believe you should hit it too.
When that error isn't thrown IDLE prints the traceback of a SystemExit
exception inside IDLE right before closing, so it may be hard to notice.
Guilherme Polo added the comment:
Michiel, the patch on #1049855 has been rejected so there is no longer a
fix for the first problem to be solved.
Also, the fourth problem you described is not entirely true, it is
possible to run tkinter apps on IDLE without calling the mainloop
function (see
Guilherme Polo added the comment:
This is a bit misleading. Python supports compiling with Tcl 8.6 and
Tkinter (and _tkinter) will work (or at least should work) with it, what
is not supported are tcl/tk versions below 8.3.1.
I'm ok with with patching setup.py to add this "su
Changes by Guilherme Polo :
--
resolution: -> rejected
___
Python tracker
<http://bugs.python.org/issue798058>
___
___
Python-bugs-list mailing list
Unsubscri
Guilherme Polo added the comment:
Uh oh, awesome. Thanks ;)
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue798058>
___
___
Python-
Guilherme Polo added the comment:
Idle has changed a bit since the initial message, so it no longer hangs
when it is configured to open an edit window by default, but now it
hangs when running it as: idle -e (which the patch fixes).
--
___
Python
Guilherme Polo added the comment:
Closing as promised.
--
___
Python tracker
<http://bugs.python.org/issue798058>
___
___
Python-bugs-list mailing list
Unsub
New submission from Guilherme Polo :
Hi,
While testing Tkinter.Canvas I've found several minor bugs that I would
prefer to see fixed. Many of them change the current Canvas api a bit,
but for better. For example, the methods "focus", "gettags", "icursor",
New submission from Guilherme Polo :
Hi there,
I've found several minor issues in Tkinter.Listbox which are all fixed
by the attached patch.
I'm considering the bbox method should be clear in relation to the
amount of accepted arguments, which is always one. So I dropped the
*args u
New submission from Guilherme Polo :
The xview method in Tkinter.Entry doesn't indicate that index may be
None, which is used to query the Entry xview. I also considered that the
docstrings in the selection_range and selection_present methods needed
some clarifications, so the attached
New submission from Guilherme Polo :
Hi,
I've noticed some minor problems in Tkinter.Scrollbar that would be good
to be addressed. The activate method never returns a value and it also
doesn't accept to be called without an element -- which is accepted by
tcl. When an element is not
New submission from Guilherme Polo :
The current bbox method for Tkinter.Spinbox is very likely to never
return a tuple. The attached patch uses _getints to always return a
tuple of integers.
The other changes in the patch are about removing unneeded return
statements.
--
components
New submission from Guilherme Polo :
The attached patch removes the return statements from proxy_forget and
proxy_place since these methods aren't supposed to return anything.
It also fixes the docstring for the identify and paneconfigure methods.
While fixing the docstring in paneconfig
New submission from Guilherme Polo :
Hi,
While testing Tkinter.Text I've found some problems and it would be good
to fix them in trunk.
The methods edit_redo, edit_reset, edit_separator and edit_undo doesn't
return anything, so I would suggest to remove the return statements there.
Guilherme Polo added the comment:
> It is a bug for a window manager to ignore the Taskbar; this is rare to
> unique in my experience. In fact, most Windows apps reopen at the size
> and position closed. But I am no longer bothered enough to find,
> register with, and post to ano
Guilherme Polo added the comment:
> Do you have a case the corrected code doesn't handle?
Create a file that starts with a space and search for something that
returns it, for example.
--
___
Python tracker
<http://bugs.python.or
Guilherme Polo added the comment:
I would prefer to rename it, why waste the "chance" to rename something
badly named ?
I agree on the rstrip use.
--
___
Python tracker
<http://bugs.python.
Guilherme Polo added the comment:
Wouldn't it be better to actually write tests for it ? Also, the issue's
title is a bit misleading, it is not only spaces that causes troubles.
Isn't fixing how GrepDialog <-> OutputWindow works an acceptable
solution ? Instead of just writ
Guilherme Polo added the comment:
Kurt, I'm not sure if you misunderstood Martin but there is no such
"closing bot" here (only if you consider people as bots :)
Anyway, are you porting these to py3k and release30-maint or can som
Changes by Guilherme Polo :
--
nosy: +kbk
___
Python tracker
<http://bugs.python.org/issue4985>
___
___
Python-bugs-list mailing list
Unsubscribe:
Guilherme Polo added the comment:
Ah, retried this bug a bit more and found out that to hang you have to
run idle with the -e option and a non-existing filename.
Anyway, this was all introduced by r57998.
--
___
Python tracker
<h
Guilherme Polo added the comment:
I had temporary access to a mac to verify this, and it is really sad to
see things like that.
Anyway, I found out that by calling self.entry.update_idletasks in
_QueryDialog.body right after calling self.entry.insert(0,
self.initialvalue) solved the problem. I
Guilherme Polo added the comment:
That bug report is talking about gtk and modifiers affecting bindings
(in the first comments at least), or maybe it even talks about your
problem but it is so long that I would ask to include the relevant parts
here.
Nevertheless, after reading your comments I
Guilherme Polo added the comment:
Can you verify if it is possible to type '\' in a standard Tkinter.Text ?
--
nosy: +gpolo
type: feature request ->
___
Python tracker
<http://bugs.pyth
Guilherme Polo added the comment:
> When numlock is on, it would still
> move one line up. We could change it to fix this problem, but then we
> would be using tk::TextUpDownLine which is marked as unsupported
> (basically everything that could help us in such situations
Guilherme Polo added the comment:
Unfortunately this is not that easy for us, while we could add some code
like this:
import Tkinter
text = Tkinter.Text()
text.event_add("<>", "")
text.event_add("<>", "")
text.bind_class("Text"
Guilherme Polo added the comment:
I just created a sample listbox with drag & drop support and it indeed
looks better if the "hand2" cursor or whatever cursor is set only shows
up when motion starts. But, for the sample included with Tkdnd, I find
it better to show up the differe
Changes by Guilherme Polo :
--
stage: -> test needed
___
Python tracker
<http://bugs.python.org/issue4961>
___
___
Python-bugs-list mailing list
Unsubscri
Guilherme Polo added the comment:
I've verified it, it is indeed a bug in tkMessageBox.py which is very
likely to be noticed while using tk 8.5 or newer.
--
assignee: -> gpolo
nosy: +gpolo
versions: +Python 2.7, Python 3.0, Python 3.1
__
Guilherme Polo added the comment:
In theory at least, it is valid. I have done something similar in
another tcl <-> python bridge that I did for fun, but didn't achieve
good results in the end. From what I remember, creating a timer handler
instead of using a 20ms sleep comp
Guilherme Polo added the comment:
> I suppose these lines from ScrolledText.py should
> be expanded to include 'bbox', but I have not tested
> such a fix:
>
>if m[0] != '_' and m != 'config' and m != 'configure':
>
Guilherme Polo added the comment:
Closing as won't fix since there is nothing to fix on Python side, not
from what I have noticed at least.
Mandriva 2009 and Sugar (and other places with this problem) should
check how they got IDLE to act like that, and could try compiling python
from s
Guilherme Polo added the comment:
That is because only the root window changed the position, a Configure
event is fired whenever the window changes its size, position, or border
width, and sometimes when it has changed position in the stacking order.
Try changing your example to verify this
Guilherme Polo added the comment:
This issue has remained as is for too long, I assume the OP has found
another solution or: dropped tkinter from his usage, fixed his problem
according to issue989712, something else.
Some time ago I read about your proposal to change PyOS_InputHook by
Guilherme Polo added the comment:
This is not a bug in tkinter either, unfortunately. Please report it at
tk tracker: http://sourceforge.net/projects/tktoolkit/
Here is the equivalent tcl code to reproduce the problem (you could use
it while re-reporting at the tk tracker):
$ wish8.5
% pack
Guilherme Polo added the comment:
Fine, Martin. Patch attached for idle only.
--
keywords: +patch
Added file: http://bugs.python.org/file13724/issue_5783.diff
___
Python tracker
<http://bugs.python.org/issue5
Guilherme Polo added the comment:
Maybe the functions in Doc/tools/sphinxext/patchlevel.py should be moved
to somewhere else then ? IDLE could use them.
--
nosy: +gpolo
___
Python tracker
<http://bugs.python.org/issue5
Guilherme Polo added the comment:
Ah.. number 2 is problematic. Before continuing lets reduce the previous
WaitTest.py to this (which shows the same problems):
import Tkinter
root = Tkinter.Tk()
waitVar = Tkinter.BooleanVar()
root.after(3000, lambda: waitVar.set(True))
root.wait_variable
Guilherme Polo added the comment:
Using this patch I noticed two problems appeared when running WaitTest.py
1) Closing the window results in: "_tkinter.TclError: can't invoke
"tkwait" command: application has been destroyed" which I'm not
considering as a bug, m
Guilherme Polo added the comment:
Patch attached, but didn't test it at all. This is a trick so it doesn't
get committed without a test (hopefully) :)
--
keywords: +patch
Added file: http://bugs.python.org/file13528/issue978604.diff
Guilherme Polo added the comment:
You can also reproduce it with a shorter test that doesn't need any
interaction:
import Tkinter
root = Tkinter.Tk()
waitvar = Tkinter.BooleanVar()
root.after(50, lambda: waitvar.set(True))
root.after(10, root.destroy)
root.wait_variable(wa
Guilherme Polo added the comment:
Is there any reason to keep this open ? It is not a IDLE bug, the title
is misleading, and a solution has been provided for the problem related
to how Ubuntu packages IDLE.
--
nosy: +gpolo
___
Python tracker
<h
Guilherme Polo added the comment:
Skip: bugs.python.org/issuexx...@action=edit&@a...@messages=msgnum
This "Remove" button... :)
--
___
Python tracker
<http://bugs.pyt
Guilherme Polo added the comment:
> IMO IDLE should check for any exception
> (not just pickle.PicklingError) when trying to pickle an object for
> sending to the parent process. If pickle doesn't work, for whatever
> reason, IDLE can still try to work around it with str() and
Guilherme Polo added the comment:
Uhm, I have compiled python-trunk in this Mandriva 2009 now and it
works! I didn't change tcl/tk version, just installed the dev packages
in order to compile _tkinter.
I still don't know how what kind of changes were done by Mandriva in
order to ac
Guilherme Polo added the comment:
Closing in favour of 694339.
--
resolution: -> duplicate
status: open -> closed
superseder: -> Dedenting with Shift+Tab
___
Python tracker
<http://bugs.python.org/
Guilherme Polo added the comment:
Patch added for allowing, and defining, Shift-Tab as the default binding
for dedenting.
The problem is that dedent-region may do more than one would expect.
--
keywords: +patch
nosy: +gpolo
versions: +Python 2.7, Python 3.1 -Python 2.6
Added file
Changes by Guilherme Polo :
--
versions: +Python 2.7, Python 3.1 -Python 2.6
___
Python tracker
<http://bugs.python.org/issue1757831>
___
___
Python-bugs-list m
Guilherme Polo added the comment:
This is a duplicate of issue799428, which is already fixed.
--
nosy: +gpolo
resolution: -> out of date
status: open -> closed
___
Python tracker
<http://bugs.python.org/is
Guilherme Polo added the comment:
Closing for lack of interest.
Rahul, the bug tracker is a place to provide help not to obtain help. So
if you still have the problem mentioned, consider posting to a proper
mail list and if you can confirm it is really a bug then create a new issue
Guilherme Polo added the comment:
Here is a patch.
But I'm not feeling comfortable with the option "display":
Cursor blink ( ) No blink( ) Blink
Those are radiobuttons. If I opted for a checkbutton then it would be
different from everything on the "Ge
Guilherme Polo added the comment:
Whoa, it went better than I expected. It failed on Mandriva just like it
was mentioned, but I still haven't verified what is causing this problem.
And while running IOBinding.py doesn't demonstrate the problem, running
EditorWind
Guilherme Polo added the comment:
Hi Brian (hope you are still there), the code in 31_8.tcl is not
complete so I didn't bother looking into it.
The tkdraw.py is not really correct, here is a cleaned up version that
works:
from Tkinter import Tk, Canvas, LAST, ROUND
def StrokeBegin(
Guilherme Polo added the comment:
I'm downloading Mandriva 2009.0 to hopefully reproduce the problem, but
I'm afraid it won't happen. Apparently people that have this issue also
reproduce it in different platforms, someone said on
http://dev.laptop.org/ticket/7661 that this o
Guilherme Polo added the comment:
I can't seem to reproduce this here. I've tried both python 2.4.5 and
2.5.2 using beautifulsoup 3.0.7. I also used the sample html attached in
that email as well part of the code that is supposed to cause the
problem, and I can also run pickle on
Guilherme Polo added the comment:
Amaury, can you be more specific on how it is not correct ? What patch
should be reverted ?
I'm closing this as invalid now. Although this, in some way, can be
considered a duplicate of issue1500773, I don't see it that way. I'm
just seeing an
Guilherme Polo added the comment:
I've changed the patch a bit and give it a quick try on the python-trunk.
I didn't understand the need to verify for _tkinter while IDLE is
already running, also, _tkinter.dooneevent is gone in py3k so I'm not
using the module function
Guilherme Polo added the comment:
I just tried idle here under cygwin and menus are not shown. This cygwin
includes python 2.5.2, btw.
But I verified what Daniel Joyce said and I see the problem is no longer
there, so it has to be tracked down again.
--
nosy: +gpolo
Guilherme Polo added the comment:
I have just tried it using Python 2.5.2 under cygwin 1.5.25 and that did
not happen.
This looks like to be an issue with the cygwin you were using, not
python or idle. If you (Miki) are still around, please retry with a
newer cygwin and report it here
101 - 200 of 659 matches
Mail list logo