Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

I concur with Inada. It is a "nice to have" feature, but it has too high cost. 
PR 6827 adds around 300 lines of new code in dictobject.c. Too large for rarely 
used feature. And dictobject.c is critically important, adding new code here 
can make the compiler generating less optimal code for other parts. That is 
besides increasing the maintenance cost.

I may have a case for iterating dict in the reversed order (see issue33331), 
but adding three new types requires adding too much boilerplate code. In the 
current form PR 6827 can't be merged, and I don't see a way how to make the 
code much shorter without impact on the current code. :-(

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33462>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to