Python will do copy-by-reference, so this will change original params dict also.  Suggest <code>_params = dict(params)</code>.