This may be abusive, but what about:

```python
self.__dict__.update(locals())
```