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 pyconvert cache update bugs by clearing the whole cache after any rule is added #365

Merged
merged 3 commits into from
Sep 22, 2023

Conversation

LilithHafner
Copy link
Contributor

@LilithHafner LilithHafner commented Sep 20, 2023

Fixes #364. Fixes #336.
It would be possible to do a more sophisticated partial cache clear, but IMO that would be premature optimization at this point.

Copy link
Collaborator

@cjdoris cjdoris left a comment

Choose a reason for hiding this comment

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

Great thanks! Just a couple of comments on the tests.

@LilithHafner
Copy link
Contributor Author

I appreciate your attention to test reproducibility.

@cjdoris cjdoris merged commit dc336d5 into JuliaPy:main Sep 22, 2023
@cjdoris
Copy link
Collaborator

cjdoris commented Sep 22, 2023

Thank you!

@LilithHafner LilithHafner deleted the lh/pyconvert-cache branch September 22, 2023 17:36
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.

pyconvert rule caching is buggy pyconvert_add_rule() ignored if cache has been populated
2 participants