Re: Possible bug in Tkinter - Python 2.6

2009-01-20 Thread José Matos
On Monday 19 January 2009 09:24:09 Eric Brunel wrote: > This is not the procedure I describe in the original post. The first time, >   it works for me too. It's only after I used the file dialog that it stops > working. You are right, my mistake. -- José Abílio -- http://mail.python.org/mailman/

Re: Possible bug in Tkinter - Python 2.6

2009-01-19 Thread Eric Brunel
On Sun, 18 Jan 2009 01:57:12 +0100, José Matos wrote: On Friday 16 January 2009 09:47:36 Eric Brunel wrote: What do you mean by 'works'...? The usual meaning, I think. :-) Click "Yes" and the program prints True, click "No" and the programs prints "False". This is not the procedure I d

Re: Possible bug in Tkinter - Python 2.6

2009-01-19 Thread Eric Brunel
On Fri, 16 Jan 2009 17:49:50 +0100, Terry Reedy wrote: Eric Brunel wrote: On Thu, 15 Jan 2009 23:49:22 +0100, Terry Reedy wrote: Eric Brunel wrote: [snip]>> And BTW, if this is actually a bug, where can I report it? bugs.python.org Thanks. I reported the problem. When you report tha

Re: Possible bug in Tkinter - Python 2.6

2009-01-17 Thread José Matos
On Friday 16 January 2009 09:47:36 Eric Brunel wrote: > What do you mean by 'works'...? The usual meaning, I think. :-) Click "Yes" and the program prints True, click "No" and the programs prints "False". > You don't have the problem? It doesn't   > change a thing for me... Notice that I am ru

Re: Possible bug in Tkinter - Python 2.6

2009-01-16 Thread Terry Reedy
Eric Brunel wrote: On Thu, 15 Jan 2009 23:49:22 +0100, Terry Reedy wrote: Eric Brunel wrote: [snip]>> And BTW, if this is actually a bug, where can I report it? bugs.python.org Thanks. I reported the problem. When you report that you reported to problem to the tracker (a good idea), pl

Re: Possible bug in Tkinter - Python 2.6

2009-01-16 Thread Eric Brunel
On Thu, 15 Jan 2009 23:49:22 +0100, Terry Reedy wrote: Eric Brunel wrote: [snip]>> And BTW, if this is actually a bug, where can I report it? bugs.python.org Thanks. I reported the problem. -- python -c "print ''.join([chr(154 - ord(c)) for c in 'U(17zX(%,5.zmz5(17l8(%,5.Z*(93-965$l7+-']

Re: Possible bug in Tkinter - Python 2.6

2009-01-16 Thread Eric Brunel
On Thu, 15 Jan 2009 19:09:00 +0100, José Matos wrote: On Thursday 15 January 2009 15:28:36 r wrote: First of all be very careful using from "module" import * or you will have name conflicts. Tkinter is made to be imported this way and i do it all the time. for the others do. import tkMessageB

Re: Possible bug in Tkinter - Python 2.6

2009-01-15 Thread Terry Reedy
Eric Brunel wrote: Hi all, I found a behaviour that might be a bug in Tkinter for Python 2.6. Here is the script: - from Tkinter import * from tkMessageBox import * from tkFileDialog import * root = Tk() def ask_file(): file_name = askopenfilename() print fil

Re: Possible bug in Tkinter - Python 2.6

2009-01-15 Thread José Matos
On Thursday 15 January 2009 15:28:36 r wrote: > First of all be very careful using from "module" import * or you will > have name conflicts. Tkinter is made to be imported this way and i do > it all the time. for the others do. > > import tkMessageBox as MB > import tkFileDialog as FD > or whatever

Re: Possible bug in Tkinter - Python 2.6

2009-01-15 Thread r
First of all be very careful using from "module" import * or you will have name conflicts. Tkinter is made to be imported this way and i do it all the time. for the others do. import tkMessageBox as MB import tkFileDialog as FD or whatever floats your boat. Secondly i hear all the time about prob

Re: Possible bug in Tkinter - Python 2.6

2009-01-15 Thread bieffe62
On 15 Gen, 11:30, "Eric Brunel" wrote: > Hi all, > > I found a behaviour that might be a bug in Tkinter for Python 2.6. Here is   > the script: > > - >  from Tkinter import * >  from tkMessageBox import * >  from tkFileDialog import * > > root = Tk() > > def ask_file():

Possible bug in Tkinter - Python 2.6

2009-01-15 Thread Eric Brunel
Hi all, I found a behaviour that might be a bug in Tkinter for Python 2.6. Here is the script: - from Tkinter import * from tkMessageBox import * from tkFileDialog import * root = Tk() def ask_file(): file_name = askopenfilename() print file_name def ask_con