[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

[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

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

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

2009-08-14 Thread Guilherme Polo
2009/8/14 paolo.fr...@libero.it 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).

[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, PythonTurtlehttp://pythonturtle.com, which is

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

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, it's

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

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 kgmul...@xs4all.nl 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

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

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

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

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

Re: [Python-Dev] Tkinter lockups.

2006-05-01 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() twice

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
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 tcl.h #include tk.h int main(void) { Tcl_Interp *trp; unsetenv(DISPLAY); trp =

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

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

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

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

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 is not

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't moving

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 lot

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 6 and

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 Rodrigues, Joseph
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 Fredrik Lundh wrote

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 well?