Santoso Wijaya <santoso.wij...@gmail.com> added the comment: I'm attaching a patch that fixes this bug. I'm using a different algorithm altogether than the currently existing one, to allow a stack-based approach that lends itself to fixing this bug (as inspired by Wojciech). Hopefully it won't expose new, subtler bugs...
---------- Added file: http://bugs.python.org/file21320/issue11397.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11397> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com