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

Fix recursion error when printing objects #832

Merged
merged 1 commit into from
Aug 7, 2023

Conversation

sglvladi
Copy link
Collaborator

This PR aims to fix #831 by avoiding the recursive call to BaseRepr.whitespace_remove().

@sglvladi sglvladi requested a review from a team as a code owner July 27, 2023 15:32
@sglvladi sglvladi requested review from hpritchett-dstl and mharris-dstl and removed request for a team July 27, 2023 15:32
@orosoman-dstl orosoman-dstl self-requested a review July 28, 2023 10:53
Copy link
Contributor

@orosoman-dstl orosoman-dstl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work and fix the issue - nice job!

@sglvladi sglvladi force-pushed the fix_whitespace_recursion_error branch from 6eb29a4 to 55d09e8 Compare July 31, 2023 13:27
@sglvladi
Copy link
Collaborator Author

@orosoman-dstl I realised there was a cleaner way to code it, hence the new commit. Please check to make sure you are still happy

@sdhiscocks sdhiscocks added the bug label Aug 7, 2023
@sdhiscocks sdhiscocks merged commit 00aaded into dstl:main Aug 7, 2023
@sglvladi sglvladi mentioned this pull request Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RecursionError when trying to print/debug Track objects
3 participants