The docs indicate it would be "used by Py_GetPath() and some other functions below to find the Python run-time libraries relative to the interpreter executable".  I tried this method, and strace showed that it did indeed stat the file during Py_SetProgramName() invocation, but importing the module name failed, and not importing the module didn't make the functions available.  In short, I was unable to make it work using this method.