[Fwd: [RFE] new procedure method]
Malek Hadj-Ali <[email protected]> Fri, 17 Feb 2006 17:41:42 +0100
| Newsgroups | gmane.comp.gnu.enterprise.devel |
|---|---|
| Organization | L.C.D.E. Consulting b.V. |
| Message-ID | <[email protected]> |
-------- Forwarded Message -------- > From: Malek Hadj-Ali <[email protected]> > To: [email protected] > Subject: [RFE] new procedure method > Date: Fri, 17 Feb 2006 12:08:37 +0100 > > i don't know if the following if possible but that would be handy to > have. > > in procedure calls we have abort(message) which raise an error. > > i think it would be useful if we have other means to send message which > would not be errors. > Something like: info(message), the difference being it would not raise > an error in python. Maybe create an xmlrpclib.Fault with a special code > or... i don't know. > > another useful thing would be a confirm method, bool = confirm(message), > which could be used to ask users for a boolean answer (Yes/No). I don't > know if this one is even possible, cause it'd have to stop the execution > of a procedure and then resume when the client answer (maybe use a > separate thread...). > on second thoughts this one seems to be a bad idea (procedures waiting for ever for an answer) bah, the first one still seems to hold > any thougths? > > lekma