Remove kwarg assignments that are later deleted.
Revert the dict comprehension.

Python2.6 does not support dict comprehension.
Merge pull request #2969 from grandquista/grandquista/Python_kwargs_noop_v2

Remove kwarg assignments that are later deleted.