This sort of thing normally requires more thought than just removing
the safety check. What happens when the python code does/doesn't return
a value, in both cases (declared return type void or not)?
python functions are specified to return "None", if no return is given. I recommend to also see a plpython function as a Python function, and return None if no return is specified.
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
When I visit a mosque, I show my respect by taking off my shoes. I follow the customs, just as I do in a church, synagogue or other holy place. But if a believer demands that I, as a nonbeliever, observe his taboos in the public domain, he is not asking for my respect, but for my submission. And that is incompatible with a secular democracy.