New submission from Cruise Liu: Following code will crash python. Tested on linux and windows.
Python 3.5.0 (default, Sep 20 2015, 11:28:25) [GCC 5.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import collections >>> x = collections.OrderedDict([ ('a', 1), ('b', 2), ('c', 3) ]) >>> x.move_to_end('c', last = False) >>> x.move_to_end('a', last = False) >>> x Segmentation fault (core dumped) ---------- components: Library (Lib) messages: 252991 nosy: Cruise Liu priority: normal severity: normal status: open title: OrderedDict.move_to_end may cause crash in python 3.5 type: crash versions: Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25406> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com