For getting the list of parameter names inside python function locals() returns a dictionary with local names:
def func(a,b,c):
print(locals().keys())
The above code prints the list of parameters. If you use other local variables those will be included in this list. But you could make a copy at the beginning of your function.