Mark Dickinson added the comment: The current code is correct. Note that `from` is the list header, and is not attached to a gc-tracked object. We want to splice the last non-header element of `to` (`to->gc.gc_prev`) to the first non-header element of `from` (`from->gc.gc_next`).
Did you try running the test suite with your change? It would be quite a feat for a bug this fundamental to have made it this far in 2.7 without anyone noticing. :-) Closing as invalid. ---------- nosy: +mark.dickinson resolution: -> invalid status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19503> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com