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

Bug introduced in #832 #838

Closed
sglvladi opened this issue Aug 15, 2023 · 0 comments · Fixed by #839
Closed

Bug introduced in #832 #838

sglvladi opened this issue Aug 15, 2023 · 0 comments · Fixed by #839
Assignees
Labels

Comments

@sglvladi
Copy link
Collaborator

sglvladi commented Aug 15, 2023

In trying to fix one bug in #832, I inadvertently introduced another bug that somehow evaded all the tests.

This is caused by incorrect use of the walrus operator on line 244 of base.py, meaning that the variable excess always takes a Boolean value (i.e. 0 or 1), therefore leading to inappropriate execution of the while loop for each character in val, which in turn led to scripts hanging.

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 a pull request may close this issue.

1 participant