tag:blogger.com,1999:blog-11788780.post115413881830878106..comments2023-12-29T13:22:33.104-08:00Comments on JJinuxLand: Python: Don't Mix Wing IDE and sshfsjjinuxhttp://www.blogger.com/profile/03270879497119114175noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-11788780.post-78107086321022506062007-05-17T02:32:00.000-07:002007-05-17T02:32:00.000-07:00The proprietary version of stackless I was using d...The proprietary version of stackless I was using didn't have tasklets, so I guess that means no ;)<BR/><BR/>I was running this stuff on FreeBSD, so the Wing guys gave me a tarball that contained the debug hooks. It was called wingide-debugger, or something like that.jjinuxhttps://www.blogger.com/profile/03270879497119114175noreply@blogger.comtag:blogger.com,1999:blog-11788780.post-89931190005055292172007-05-13T10:48:00.000-07:002007-05-13T10:48:00.000-07:00Shannon, thanks for the info. Is the debug hooks ...Shannon, thanks for the info. Is <BR/>the debug hooks you mentioned replacing tasklet.__call__ as the following ? Thanks again.<BR/><BR/>def new_call(self, *args, **kwargs):<BR/> f = self.tempval<BR/> def new_f(old_f, args, kwargs):<BR/> print "wrapper.start", args, kwargs<BR/> old_f(*args, **kwargs)<BR/> print "wrapper.end"<BR/> self.tempval = new_f<BR/> tasklet.setup(self, f, args, kwargs)<BR/><BR/>tasklet.__call__ = new_callAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-11788780.post-46460217598118664842007-05-12T15:15:00.001-07:002007-05-12T15:15:00.001-07:00I was running the IDE using a normal version of Py...I was running the IDE using a normal version of Python, and I was using the debug hooks under stackless. I was using a proprietary version of stackless, so your mileage may vary. I was specifically *not* using Wing IDE on stackless threads or doing any heavy context switching under stackless.jjinuxhttps://www.blogger.com/profile/03270879497119114175noreply@blogger.comtag:blogger.com,1999:blog-11788780.post-14020862957797410022007-05-12T15:15:00.000-07:002007-05-12T15:15:00.000-07:00I was running the IDE using a normal version of Py...I was running the IDE using a normal version of Python, and I was using the debug hooks under stackless. I was using a proprietary version of stackless, so your mileage may vary. I was specifically *not* using Wing IDE on stackless threads or doing any heavy context switching under stackless.jjinuxhttps://www.blogger.com/profile/03270879497119114175noreply@blogger.comtag:blogger.com,1999:blog-11788780.post-10770187981084735862007-05-12T12:50:00.000-07:002007-05-12T12:50:00.000-07:00Did your wings IDE work with stackless python ? Wh...Did your wings IDE work with stackless python ? What's the version of Wings and stackless you were using ? I tried many combinations, stackless python always crack during debug with wings. Any trick you are using to them work together ? Thanks.Anonymousnoreply@blogger.com