Alex <alex.gay...@gmail.com> added the comment: No need to solve the halting problem, just to detect a cycle in data. I've got a patch, however it requires objects to be hashable. Another case for identity dict I suppose :) Not sure if that's a reasonable requirement, in any event, proof of concept patch, against trunk.
---------- keywords: +patch Added file: http://bugs.python.org/file18933/python_recursive_as_parameter.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1838> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com