New submission from Mark Shannon: Setting an item in an ordered dict via dict.__setitem__, or by using it as an object dictionary and setting an attribute on that object, creates a dictionary whose repr is:
OrderedDict([<NULL>]) Test case attached. ---------- components: Library (Lib) files: test.py messages: 247421 nosy: Mark.Shannon, eric.snow priority: normal severity: normal status: open title: OrderedDict has strange behaviour when dict.__setitem__ is used. type: behavior versions: Python 3.6 Added file: http://bugs.python.org/file40028/test.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24726> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com