Re: [Python-Dev] Event loops, PyOS_InputHook, and Tkinter

2005-11-10 Thread Mark Hammond
Michiel wrote: > Guido van Rossum wrote: > > >On 11/9/05, Michiel Jan Laurens de Hoon > <[EMAIL PROTECTED]> wrote: > > > > > >>My application doesn't need a toolkit at all. My problem is that because > >>of Tkinter being the standard Python toolkit, we cannot have a decent > >>event loop in Python.

Re: [Python-Dev] dev FAQ updated with day-to-day svn questions

2005-11-10 Thread Brett Cannon
On 11/10/05, Nick Coghlan <[EMAIL PROTECTED]> wrote: > Brett Cannon wrote: > > I just finished fleshing out the dev FAQ > > (http://www.python.org/dev/devfaq.html) with questions covering what > > someone might need to know for regular usage. If anyone thinks I > > didn't cover something I should

Re: [Python-Dev] Building Python with Visual C++ 2005 Express Edition

2005-11-10 Thread Martin v. Löwis
Christos Georgiou wrote: > I didn't see any mention of this product in the Python-Dev list, so I > thought to let you know. > > http://msdn.microsoft.com/vstudio/express/visualc/download/ > > There is also a link for a CD image (.img) file to download. > > I am downloading now, so I don't know

Re: [Python-Dev] dev FAQ updated with day-to-day svn questions

2005-11-10 Thread Martin v. Löwis
Nick Coghlan wrote: > Should the section "Developing on Windows" disappear now? I think so, yes (along with the document it refers to). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] Event loops, PyOS_InputHook, and Tkinter

2005-11-10 Thread Martin v. Löwis
Michiel Jan Laurens de Hoon wrote: > I have come to this conclusion after several years of maintaining a > scientific plotting package and trying to set up an event loop for > it. Whereas there are some solutions that more or less work, none of > them work very well, and the solutions that we found

Re: [Python-Dev] Event loops, PyOS_InputHook, and Tkinter

2005-11-10 Thread Martin v. Löwis
Michiel Jan Laurens de Hoon wrote: >>You are missing multi-threading, which is the widely used >>approach to doing things simultaneously in a single process. > > The problem with threading (apart from potential portability problems) > is that Python doesn't let us know when it's idle. This would

Re: [Python-Dev] dev FAQ updated with day-to-day svn questions

2005-11-10 Thread Brett Cannon
On 11/10/05, Nick Coghlan <[EMAIL PROTECTED]> wrote: > Brett Cannon wrote: > > I just finished fleshing out the dev FAQ > > (http://www.python.org/dev/devfaq.html) with questions covering what > > someone might need to know for regular usage. If anyone thinks I > > didn't cover something I should

[Python-Dev] Building Python with Visual C++ 2005 Express Edition

2005-11-10 Thread Christos Georgiou
I didn't see any mention of this product in the Python-Dev list, so I thought to let you know. http://msdn.microsoft.com/vstudio/express/visualc/download/ There is also a link for a CD image (.img) file to download. I am downloading now, so I don't know yet whether Python compiles with it with

[Python-Dev] (no subject)

2005-11-10 Thread Michael Chermside
Sokolov Yura writes: > Excuse my English No problem. You command of english probably exceeds my command of any other language. > I think, we could just segregate tokens for decimal and real float and > make them interoperable. >Most of us works with business databases - all "floats" are reall

Re: [Python-Dev] Event loops, PyOS_InputHook, and Tkinter

2005-11-10 Thread Michiel Jan Laurens de Hoon
Guido van Rossum wrote: >On 11/9/05, Michiel Jan Laurens de Hoon <[EMAIL PROTECTED]> wrote: > > >>My application doesn't need a toolkit at all. My problem is that because >>of Tkinter being the standard Python toolkit, we cannot have a decent >>event loop in Python. So this is the disadvantage I

Re: [Python-Dev] Event loops, PyOS_InputHook, and Tkinter

2005-11-10 Thread Phillip J. Eby
At 01:47 PM 11/10/2005 +, Donovan Baarda wrote: >Twisted is an async-framework that I believe has support for using a >variety of different event-loops, including Tkinter and wxWidgets, as >well as it's own. Technically, it just gives Tkinter a chance to run every so often; you specifically *

Re: [Python-Dev] Inconsistent behaviour in import/zipimport hooks

2005-11-10 Thread Guido van Rossum
On 11/10/05, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > At 04:33 PM 11/9/2005 -0800, Guido van Rossum wrote: > >On 11/9/05, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > > > By the way, while we're on this subject, can we make the optimization > > > options be part of the compile() interface? Right

Re: [Python-Dev] Inconsistent behaviour in import/zipimport hooks

2005-11-10 Thread Phillip J. Eby
At 04:33 PM 11/9/2005 -0800, Guido van Rossum wrote: >On 11/9/05, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > > By the way, while we're on this subject, can we make the optimization > > options be part of the compile() interface? Right now the distutils has to > > actually exec another Python proc

Re: [Python-Dev] Event loops, PyOS_InputHook, and Tkinter

2005-11-10 Thread Michiel Jan Laurens de Hoon
Martin v. Löwis wrote: > Michiel Jan Laurens de Hoon wrote: > >> It's not because it likes to be in charge, it's because there's no >> other way to do it in Python. > > As I said: this is simply not true. You are right in the sense it is possible to get events handled using the solutions you pr

Re: [Python-Dev] Event loops, PyOS_InputHook, and Tkinter

2005-11-10 Thread Guido van Rossum
On 11/9/05, Michiel Jan Laurens de Hoon <[EMAIL PROTECTED]> wrote: > My application doesn't need a toolkit at all. My problem is that because > of Tkinter being the standard Python toolkit, we cannot have a decent > event loop in Python. So this is the disadvantage I see in Tkinter. That's a non-s

Re: [Python-Dev] Event loops, PyOS_InputHook, and Tkinter

2005-11-10 Thread Donovan Baarda
On Thu, 2005-11-10 at 00:40 -0500, Michiel Jan Laurens de Hoon wrote: > Stephen J. Turnbull wrote: > > >Michiel> What is the advantage of Tk in comparison to other GUI > >Michiel> toolkits? [...] > My application doesn't need a toolkit at all. My problem is that because > of Tkinter being

Re: [Python-Dev] Weak references: dereference notification

2005-11-10 Thread Gustavo J. A. M. Carneiro
Qui, 2005-11-10 às 13:57 +1300, Greg Ewing escreveu: > Gustavo J. A. M. Carneiro wrote: > > > OK, but what if it is a subclass of a builtin type, with instance > > variables? What if the PyObject is GC'ed but the ObjC object remains > > alive, and later you get a new reference to it? Do you cr

Re: [Python-Dev] Weak references: dereference notification

2005-11-10 Thread Gustavo J. A. M. Carneiro
Qui, 2005-11-10 às 08:15 +0100, "Martin v. Löwis" escreveu: > Gustavo J. A. M. Carneiro wrote: > > OK, but what if it is a subclass of a builtin type, with instance > > variables? What if the PyObject is GC'ed but the ObjC object remains > > alive, and later you get a new reference to it? Do yo

Re: [Python-Dev] Inconsistent behaviour in import/zipimport hooks

2005-11-10 Thread Paul Moore
On 11/10/05, Nick Coghlan <[EMAIL PROTECTED]> wrote: > Paul Moore wrote: > > On 11/9/05, Bob Ippolito <[EMAIL PROTECTED]> wrote: > >> On Nov 9, 2005, at 1:48 PM, Thomas Heller wrote: > >> > >>> Bob Ippolito <[EMAIL PROTECTED]> writes: > >>> > On Nov 9, 2005, at 1:22 PM, Bill Janssen wrote: > >

Re: [Python-Dev] dev FAQ updated with day-to-day svn questions

2005-11-10 Thread Nick Coghlan
Brett Cannon wrote: > I just finished fleshing out the dev FAQ > (http://www.python.org/dev/devfaq.html) with questions covering what > someone might need to know for regular usage. If anyone thinks I > didn't cover something I should have, let me know. For question 1.2.10, I believe you also wan

Re: [Python-Dev] dev FAQ updated with day-to-day svn questions

2005-11-10 Thread Nick Coghlan
Brett Cannon wrote: > I just finished fleshing out the dev FAQ > (http://www.python.org/dev/devfaq.html) with questions covering what > someone might need to know for regular usage. If anyone thinks I > didn't cover something I should have, let me know. Should the section "Developing on Windows"

Re: [Python-Dev] Inconsistent behaviour in import/zipimport hooks

2005-11-10 Thread Nick Coghlan
Nick Coghlan wrote: > Please consider looking at and commenting on PEP 328 - I got zero feedback > when I wrote it, and basically assumed no-one else was bothered by the -m > switch's fairly significant limitations (it went in close to the first Python > 2.4 alpha release, so we wanted to keep i

Re: [Python-Dev] Inconsistent behaviour in import/zipimport hooks

2005-11-10 Thread Nick Coghlan
Paul Moore wrote: > On 11/9/05, Bob Ippolito <[EMAIL PROTECTED]> wrote: >> On Nov 9, 2005, at 1:48 PM, Thomas Heller wrote: >> >>> Bob Ippolito <[EMAIL PROTECTED]> writes: >>> On Nov 9, 2005, at 1:22 PM, Bill Janssen wrote: > It's a shame that > > 1) there's no equivalent of

Re: [Python-Dev] dev FAQ updated with day-to-day svn questions

2005-11-10 Thread Fredrik Lundh
Brett Cannon wrote: >I just finished fleshing out the dev FAQ > (http://www.python.org/dev/devfaq.html) with questions covering what > someone might need to know for regular usage. If anyone thinks I > didn't cover something I should have, let me know. SVK!