[RFE] new procedure method
Malek Hadj-Ali <[email protected]> Fri, 17 Feb 2006 12:08:35 +0100
| Newsgroups | gmane.comp.gnu.enterprise.devel |
|---|---|
| Organization | L.C.D.E. Consulting b.V. |
| Message-ID | <[email protected]> |
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...). any thougths? lekma