sorry for multi posting It's a habit I have. The closest thing I can come up with is this
http://pycurl.cvs.sourceforge.net/viewvc/pycurl/pycurl/examples/retriever-multi.py?revision=1.29&view=markup but how to make this work with pcrunchly and threading Thread? On 1/15/09, alex goretoy <aleksandr.gore...@gmail.com> wrote: > more info for all: > > the class I'm trying to use threading on top of called pcrunchly. I've > posted it previously on here, but you can find it at this link. > > http://article.gmane.org/gmane.comp.python.general/604050 > > How can i make this work with threading Thread? > > On 1/15/09, alex goretoy <aleksandr.gore...@gmail.com> wrote: >> hello all, >> >> I have a problem when using pycurl with threading Thread >> >> from threading import Thread >> >> the error i get is this: >> >> error: cannot invoke setopt() - perform() is currently running >> >> >> how do I catch a error like this in my code and perform a action like >> wait for perform to finish until it tries to setopt again? >> >> Has anyone come across this? >> >> Any help in this matter will be highly appreciated, I've spent a week >> on this and can't seem to figure it out. Googling hasn't brought me >> any thing except my own code....hahaha go figure TIA >> >> -- >> -Alex Goretoy >> http://www.alexgoretoy.com >> somebodywhoca...@gmail.com >> > > > -- > -Alex Goretoy > http://www.alexgoretoy.com > somebodywhoca...@gmail.com > -- -Alex Goretoy http://www.alexgoretoy.com somebodywhoca...@gmail.com -- http://mail.python.org/mailman/listinfo/python-list