meaningful err when PYTHON_FUNCTION sub doesn't define reqired function