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

parser_pyx: return empty list if strings is empty #936

Closed

Conversation

deanlee
Copy link
Contributor

@deanlee deanlee commented Sep 5, 2023

resolve: #913

__init__ relies on sending an empty list to update_strings() to complete the initialization of hash tables. This makes the code hard to understand and can cause bugs.

@deanlee deanlee force-pushed the parser_return_empty_list_if_no_strings branch 6 times, most recently from 916d8bb to a46b23f Compare September 5, 2023 14:51
@deanlee deanlee marked this pull request as draft September 8, 2023 06:32
@deanlee deanlee force-pushed the parser_return_empty_list_if_no_strings branch from a46b23f to 47aed66 Compare September 8, 2023 06:34
@deanlee deanlee force-pushed the parser_return_empty_list_if_no_strings branch from 47aed66 to 51b8628 Compare March 30, 2024 04:21
@deanlee deanlee marked this pull request as ready for review March 30, 2024 04:22
@deanlee
Copy link
Contributor Author

deanlee commented Mar 30, 2024

@adeebshihadeh @sshane this pr is ready for review

@deanlee deanlee closed this Jun 4, 2024
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.

CANParser: update_strings returns latest state when passed empty list
1 participant