Should parameters inherit OrderedDict? #818
marcosfelt
started this conversation in
General
Replies: 1 comment 1 reply
-
the order in dictionaries is preserved since Python 3.7. https://mail.python.org/pipermail/python-dev/2017-December/151283.html I'm sure it's described in the release notes as well but I cannot find that easily right now. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently,
Parameter
inherits fromdict
instead ofOrderedDict
. Therefore, callingvalues
is not guaranteed to return the parameter values in the same order every time. Am I missing something here?lmfit-py/lmfit/parameter.py
Line 25 in 4173760
Beta Was this translation helpful? Give feedback.
All reactions