[Python-Dev] Tkinter script crashes Python 3.1

2009-10-16 Thread Gregor Lingl
I've written a small Tkinter-Script, that crashes Python 3.1 (but not Python 2.6) without any specific rrror message. When started from within IDLE, the failing of the script also closes IDLE. (This is the case under Windows, Mac OS X and Linux (teted with Ubuntu 9.04)) Bug-Tracker Issue 6717

Re: [Python-Dev] Tkinter: modify xview of entry widget

2009-08-14 Thread Guilherme Polo
2009/8/14 paolo.fr...@libero.it : > Hi, > I'm Paolo from Italy and I'm a python user. > I wish to propose a useful and smart method modify in Tkinter Library: > > Previously to scroll this widget we had to write an external function   > (recalling xview_moveto and xview_scroll). > > With my method

Re: [Python-Dev] Tkinter: modify xview of entry widget

2009-08-14 Thread Michael Foord
paolo.fr...@libero.it wrote: Hi, I'm Paolo from Italy and I'm a python user. I wish to propose a useful and smart method modify in Tkinter Library: Hi Paolo, Can you create an issue on the bug tracker - with the patch attached. Your suggestion stands a much better chance if this patch incl

[Python-Dev] Tkinter: modify xview of entry widget

2009-08-14 Thread paolo.fr...@libero.it
Hi, I'm Paolo from Italy and I'm a python user. I wish to propose a useful and smart method modify in Tkinter Library: Previously to scroll this widget we had to write an external function (recalling xview_moveto and xview_scroll). With my method this operation is cleared and the same as all ot

Re: [Python-Dev] Tkinter has many files

2009-08-07 Thread Michael Foord
Terry Reedy wrote: cool-RR wrote: Hello python-dev! I'm a Python programmer, but this is the first time I'm posting on python-dev, and I am not familiar at all with how the Python implementation works -- so this post may be way off. I've recently released a Python application, PythonTurtle

Re: [Python-Dev] Tkinter has many files

2009-08-06 Thread Terry Reedy
cool-RR wrote: Hello python-dev! I'm a Python programmer, but this is the first time I'm posting on python-dev, and I am not familiar at all with how the Python implementation works -- so this post may be way off. I've recently released a Python application, PythonTurtle

Re: [Python-Dev] Tkinter has many files

2009-08-06 Thread cool-RR
> > Why do you need to keep the whole Python distribution under version > control? Isn't all you need a script to *generate* the py2exe'd output from > an *installed* Python? This is the approach I take with Movable Python which > does something very similar. > > Never mind the source control issue

Re: [Python-Dev] Tkinter has many files

2009-08-06 Thread Michael Foord
cool-RR wrote: Hello python-dev! I'm a Python programmer, but this is the first time I'm posting on python-dev, and I am not familiar at all with how the Python implementation works -- so this post may be way off. I've recently released a Python application, PythonTurtle

[Python-Dev] Tkinter has many files

2009-08-06 Thread cool-RR
Hello python-dev! I'm a Python programmer, but this is the first time I'm posting on python-dev, and I am not familiar at all with how the Python implementation works -- so this post may be way off. I've recently released a Python application, PythonTurtle, which is packa

Re: [Python-Dev] Tkinter problem in Python 3

2009-02-21 Thread Quentin Gallet-Gilles
Hi Klaus, Tkinter was renamed as part of the stdlib reorganization (see the PEP 3108 :http://www.python.org/dev/peps/pep-3108/#tkinter-packagefor more details). The 2to3 tool should handle all those changes automatically, by the way. Cheers, Quentin On Sat, Feb 21, 2009 at 11:47 AM, Klaus Müller

Re: [Python-Dev] Tkinter problem in Python 3

2009-02-21 Thread Guilherme Polo
On Sat, Feb 21, 2009 at 7:47 AM, Klaus Müller wrote: > Hi! > I am the lead developer of SimPy (http://simpy.sourceforge.net) . Currently, > I am porting SimPy to Python 3. > > SimPy provides Tk/Tkinter-based GUI and plot facilities. > > I find that "import Tkinter" does not work in Python 3, only

[Python-Dev] Tkinter problem in Python 3

2009-02-21 Thread Klaus Müller
Hi! I am the lead developer of SimPy (http://simpy.sourceforge.net) . Currently, I am porting SimPy to Python 3. SimPy provides Tk/Tkinter-based GUI and plot facilities. I find that "import Tkinter" does not work in Python 3, only "import tkinter". What are the changes for Tkinter under Python

Re: [Python-Dev] Tkinter problems with Tcl/Tk 8.5

2008-01-01 Thread Martin v. Löwis
> It seems very peculiar how the text widget's bbox is returning a > Python-like list and therefore breaking the Tcl callback. I haven't > thus far been able to determine which python method is causing that, > or if it's something related to the hooks you have added. The same > problem do

Re: [Python-Dev] Tkinter problems with Tcl/Tk 8.5

2007-12-16 Thread Martin v. Löwis
> It also has been suggested by some on the Tcl core team (during > discussions about this bug) that you probably shouldn't be using > Tcl_GetObjType and relying on the registered Tcl_ObjTypes, however I'm > not sure of a way to get what you need otherwise. Hi George, I hope I can find some

[Python-Dev] Tkinter problems with Tcl/Tk 8.5

2007-12-16 Thread George Peter Staplin
Hello, I am a Tcl/Tk core developer. I'm trying to resolve some bugs that have surfaced in Tkinter with Tcl/Tk 8.5. 8.5.0 is very near release, and I'm hoping we can determine where the problem is, and resolve it soon. http://sourceforge.net/tracker/index.php?func=detail&aid=1851526&group

Re: [Python-Dev] Tkinter lockups.

2006-05-01 Thread Jeff Epler
Thanks Martin! Jeff ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Tkinter lockups.

2006-04-30 Thread Martin v. Löwis
Thomas Wouters wrote: > It seems that, on my platform at least, Tk_Init() doesn't like being > called twice even when the first call resulted in an error. That's Tcl > and Tk 8.4.12. Tkapp_Init() (which is the Tkinter part that calls > Tk_Init()) does its best to guard against calling Tk_Init() twi

Re: [Python-Dev] Tkinter lockups.

2006-04-30 Thread Martin v. Löwis
Jeff Epler wrote: > However, on this system, I couldn't recreate the problem you reported > with either the "using _tkinter directly" instructions, or using this > "C" test program: > > #include > #include > > int main(void) { > Tcl_Interp *trp; > unsetenv("DISPLAY"); > trp = Tcl_Cr

Re: [Python-Dev] Tkinter lockups.

2006-04-24 Thread Thomas Wouters
On 4/24/06, Jeff Epler <[EMAIL PROTECTED]> wrote: I just read the manpage for Tk_Init(3) (fc4 package tk-8.4.9-3) and itdoes not say that Tk_Init() may only be called once.  While this doesn'tmean Python shouldn't work around it, I think the behavior should be considered a bug in Tk, not _tkinter.F

Re: [Python-Dev] Tkinter lockups.

2006-04-23 Thread Jeff Epler
I just read the manpage for Tk_Init(3) (fc4 package tk-8.4.9-3) and it does not say that Tk_Init() may only be called once. While this doesn't mean Python shouldn't work around it, I think the behavior should be considered a bug in Tk, not _tkinter. However, on this system, I couldn't recreate th

[Python-Dev] Tkinter lockups.

2006-04-23 Thread Thomas Wouters
For a while now, I've noticed test_tcl locking up when trying to refleaktest it. I was able to reproduce it quite simply:import Tkinterimport osif "DISPLAY" in os.environ:    del os.environ ["DISPLAY"]tcl = Tkinter.Tcl()try:    tcl.loadtk()except Exception, e:    print etcl.loadtk()Or, more directl

Re: [Python-Dev] Tkinter

2006-01-10 Thread Martin v. Löwis
Rodrigues, Joseph wrote: > Would you say wxPython and QtPy are competing with TKinter or vice > versa? No. I never say that software "competes". I don't even say that products compete. People may compete, or perhaps companies, but not things. > Why wxPyton and/or QtPy when TKinter is alive and we

Re: [Python-Dev] Tkinter

2006-01-10 Thread Rodrigues, Joseph
nd if you cannot dwell too long on this topic. Sincerely Joseph -Original Message- From: "Martin v. Löwis" [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 3:38 PM To: Fredrik Lundh Cc: python-dev@python.org; Rodrigues, Joseph Subject: Re: [Python-Dev] Tkinter Fred

Re: [Python-Dev] Tkinter

2006-01-10 Thread Trent Mick
[EMAIL PROTECTED] wrote] > ...and whoever the Tcl/Tk master is these days (still Ousterhout?)... That's Jeff Hobbs. He sits behind me. I'll see if I can pester him to give some Tcl/Tk and _tkinter thoughts. Cheers, Trent -- Trent Mick [EMAIL PROTECTED] __

Re: [Python-Dev] Tkinter

2006-01-10 Thread Guido van Rossum
On 1/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Guido> Well to compare to Perl 6 you should really look at the progress > Guido> of Tcl/Tk 9.0, which sounds like it's never going to happen. So > Guido> Perl 6 still wins. :-) > > So the grand race is between Tcl/Tk 9.0, Perl

Re: [Python-Dev] Tkinter

2006-01-10 Thread skip
Guido> Well to compare to Perl 6 you should really look at the progress Guido> of Tcl/Tk 9.0, which sounds like it's never going to happen. So Guido> Perl 6 still wins. :-) So the grand race is between Tcl/Tk 9.0, Perl 6 and Python 3? Maybe you, Larry and whoever the Tcl/Tk master is

Re: [Python-Dev] Tkinter

2006-01-10 Thread Martin v. Löwis
Fredrik Lundh wrote: >>But for sure, Tkinter is still being maintained by the Python >>developers (mainly MvL I believe). If it appears stagnant that's >>probably because Tcl/Tk itself isn't changing much. > > > afaict, Tcl/Tk 8.5 isn't moving quite as fast as Python 2.5, but they're > probably a

Re: [Python-Dev] Tkinter

2006-01-10 Thread Guido van Rossum
On 1/10/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Guido van Rossum wrote: > > > But for sure, Tkinter is still being maintained by the Python > > developers (mainly MvL I believe). If it appears stagnant that's > > probably because Tcl/Tk itself isn't changing much. > > afaict, Tcl/Tk 8.5 isn'

Re: [Python-Dev] Tkinter

2006-01-10 Thread Fredrik Lundh
Guido van Rossum wrote: > But for sure, Tkinter is still being maintained by the Python > developers (mainly MvL I believe). If it appears stagnant that's > probably because Tcl/Tk itself isn't changing much. afaict, Tcl/Tk 8.5 isn't moving quite as fast as Python 2.5, but they're probably a lot

Re: [Python-Dev] Tkinter

2006-01-10 Thread Guido van Rossum
On 1/10/06, Aahz <[EMAIL PROTECTED]> wrote: > On Tue, Jan 10, 2006, Rodrigues, Joseph wrote: > > I would like to know if Tkinter is being developed/maintained. It > > appears the latest book on Tkinter by John E. Grayson published in 2000 > > is the only book resource on Tkinter. > > This message

Re: [Python-Dev] Tkinter

2006-01-10 Thread Aahz
On Tue, Jan 10, 2006, Rodrigues, Joseph wrote: > > I would like to know if Tkinter is being developed/maintained. It > appears the latest book on Tkinter by John E. Grayson published in 2000 > is the only book resource on Tkinter. This message is not appropriate for python-dev. Please use comp.l

[Python-Dev] Tkinter

2006-01-10 Thread Rodrigues, Joseph
Hello, I would like to know if Tkinter is being developed/maintained.  It appears the latest book on Tkinter by John E. Grayson published in 2000 is the only book resource on Tkinter.   The publisher suggested that QtPy (http://www.riverbankcomputing.co.uk/pyqt/)  and wxPython ( http://w