[issue26060] Class __dict__ iteration order changing due to type instance key-sharing

Barry A. Warsaw report at bugs.python.org
Tue Jan 12 11:28:45 EST 2016


Barry A. Warsaw added the comment:

Is this a bug though?  No guarantees of dict order exists, regardless of whether the dict changes or not, right?  Even if the implementation used to, or in some circumstances still does, appear to preserve iteration order, you shouldn't count on it.

----------
nosy: +barry

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26060>
_______________________________________


More information about the Python-bugs-list mailing list