[Python-Dev] Any grammar experts?

Barry Warsaw barry at python.org
Mon Jan 26 20:24:59 CET 2015


On Jan 26, 2015, at 10:55 AM, Ethan Furman wrote:

>In the your example
>
>  from_env = {'a': 12}
>  from_config = {'a': 13}
>
>  f(**from_env, **from_config)
>
>I would think 'a' should be 13, as from_config is processed /after/ from_env.
>
>So which is it?

In the face of ambiguity, refuse the temptation to guess.

Cheers,
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150126/96b75663/attachment.sig>


More information about the Python-Dev mailing list