summaryrefslogtreecommitdiff
path: root/plugins/pythondemo
AgeCommit message (Collapse)Author
2008-03-21Allow external plugins to return no valuemartin f. krafft
Instead of using the XML-RPC v2 extension <nil/>, which Perl's XML::RPC::Parser does not (yet) support (Joey's patch is pending), we agreed on a sentinel: {'null':''}, that is, a hash with a single key "null" pointing to the empty string. The Python proxy automatically converts None appropriately and raises an exception if a hook function should, by weird coincidence, attempt to return {'null':''}. Signed-off-by: martin f. krafft <madduck@madduck.net>
2008-03-17first implementation of a python demomartin f. krafft
(cherry picked from commit bbdf127917a13b81cef50995098f479ef4fe1cf9)