[issue19026] OrderedDict should not accept dict as parameter
anatoly techtonik
report at bugs.python.org
Sun Sep 15 19:20:13 CEST 2013
anatoly techtonik added the comment:
I don't know if it is bug or feature. There are probably cases when order is not important and OrderedDict is used, but I don't remember any.
Too bad Python doesn't have first class ordered mapping type, so that it could report error if unordered arguments are supplied (such as dict or **kwargs).
tag:wart
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19026>
_______________________________________
More information about the Python-bugs-list
mailing list