Thanks to visit codestin.com
Credit goes to github.com

Skip to content

filter out doc strings with opt level 2 as final step to enable test_builtin.py test_compile #5274

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

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

hydrogen602
Copy link
Contributor

@hydrogen602 hydrogen602 commented Apr 25, 2024

Addresses the last todo item of #5251

Optimize=2 removes doc strings, so I added code to do that.

The unit tests will most likely fail as the main branch commit this branch is based on doesn't pass all the tests.

@youknowone
Copy link
Member

I am sorry for the clippy error. rebase will resolve it.

@hydrogen602 hydrogen602 force-pushed the optimize=2-no-doc-strings branch from 0799695 to 707a905 Compare April 25, 2024 06:21
@hydrogen602
Copy link
Contributor Author

I've rebased onto the latest commit in main.

Removing the doc strings turned out to be far easier than I thought, I could've bundled it with the other PR.

Copy link
Member

@youknowone youknowone left a comment

Choose a reason for hiding this comment

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

Thank you!

@youknowone youknowone merged commit af8bed6 into RustPython:main Apr 25, 2024
@hydrogen602 hydrogen602 deleted the optimize=2-no-doc-strings branch April 25, 2024 16:30
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.

2 participants