In article <[EMAIL PROTECTED]>,
 Bob Ippolito <[EMAIL PROTECTED]> wrote:

> eric texier wrote:
> > Thank you for you quick anwser.
> > I am getting an error well documented:
> > RuntimeError: _tkinter.createfilehandler not supported for threaded
> > Tcl
> > I am using the Aqua Batteries-Included and I was wondering if it was
> > easy/recommended to rebuild the package with the single threaded
> > option or will the x implementation be a better solution if I want to
> > be sure that what ever I am doing can run on linux.
> 
> Don't do that.  Just use a separate thread to monitor the file handle  
> on select() or something.  Twisted could do this for you with the  
> threadedselectreactor (in svn) <http://bob.pythonmac.org/archives/ 
> 2005/04/17/twisted-and-foreign-event-loops/>.  Similar things could  
> be done by hand.

I agree (I've never used twisted framework myself, but it has a good 
reputation). Another option (which I use) is tcl sockets. See, for 
instance 
<http://www.astro.washington.edu/rowen/TkinterSummary.html#FileHandlers>.

-- Russell

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to