Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle circular structures #9

Merged
merged 1 commit into from Feb 14, 2015
Merged

Handle circular structures #9

merged 1 commit into from Feb 14, 2015

Conversation

motemen
Copy link
Contributor

@motemen motemen commented Feb 14, 2015

When pp is given a circular structure, it enters an infinite recursion.

This pull request changes pp to remember where it visited and not to visit there again to avoid infinite recursion.

@k0kubun
Copy link
Owner

k0kubun commented Feb 14, 2015

Good catch! 👍
Thank you for your contribution :)

k0kubun added a commit that referenced this pull request Feb 14, 2015
Handle circular structures
@k0kubun k0kubun merged commit 8457b11 into k0kubun:master Feb 14, 2015
@motemen
Copy link
Contributor Author

motemen commented Feb 14, 2015

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants