Serhiy Storchaka added the comment: In 2.7 the test doesn't crash, but __reduce__ produces invalid recursive structure. ---------- versions: +Python 2.7 _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue24097> _______________________________________