Skip to main content
deleted 43 characters in body
Source Link
Kevin
  • 2.7k
  • 2
  • 18
  • 23

Your premise is incorrect. As of Python 3.6, dicts remember their insertion order. This is currentlywas an implementation detail, but will likely beand was promoted to a full language feature in the near future3.7. In the meantime3.6, for the specific case of **kwargs, order preservation is specifically guaranteed.

Your premise is incorrect. As of Python 3.6, dicts remember their insertion order. This is currently an implementation detail, but will likely be promoted to a full language feature in the near future. In the meantime, for the specific case of **kwargs, order preservation is specifically guaranteed.

Your premise is incorrect. As of Python 3.6, dicts remember their insertion order. This was an implementation detail, and was promoted to full language feature in 3.7. In 3.6, for the specific case of **kwargs, order preservation is specifically guaranteed.

Source Link
Kevin
  • 2.7k
  • 2
  • 18
  • 23

Your premise is incorrect. As of Python 3.6, dicts remember their insertion order. This is currently an implementation detail, but will likely be promoted to a full language feature in the near future. In the meantime, for the specific case of **kwargs, order preservation is specifically guaranteed.