Concurrency models (was: Timer)

Michael Hudson mwh at python.net
Wed Oct 29 08:39:23 EST 2003


Alex Martelli <aleax at aleax.it> writes:

> Michael Hudson wrote:
>    ...
> >> and select -- it depends... but last time I checked I
> >> saw no way to get the "callback on file activity" from
> >> Tkinter as I could back when I used Tcl/Tk...).
> > 
> > Huh?  _tkinter.createfilehandler() is there (pyrepl uses it).  I think
> > only on Unix, but I think that also applies to Tcl_CreateFileHandler,
> > so that's not much of a surprise.
> 
> I could have sworn I got "callbacks on file activity" cross-platform
> when I used Tcl/Tk, but maybe it's just a memory grown rosy with age.

Well, maybe.  I haven't been near a Windows system in months & months
and have never used Tcl/Tk in isolation, so please don't be surprised
when I'm wrong about Tcl on windows :-)

Cheers,
mwh

-- 
  Make this IDLE version 0.8.  (We have to skip 0.7 because that 
  was a CNRI release in a corner of the basement of a government 
  building on a planet circling Aldebaran.)
                             -- Guido Van Rossum, in a checkin comment




More information about the Python-list mailing list