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

gh-104683: Argument Clinic: Modernise parse_special_symbol() #106837

Conversation

erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Jul 17, 2023

@erlend-aasland
Copy link
Contributor Author

@AlexWaygood what do you think of this? Is it worth it?

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

Haven't done a thorough review yet, just skimmed, but I think this is a great idea. It makes it much more readable imo, and could also make it easier to create dedicated unit tests for each method

Tools/clinic/clinic.py Outdated Show resolved Hide resolved
@erlend-aasland
Copy link
Contributor Author

Haven't done a thorough review yet, just skimmed, but I think this is a great idea. It makes it much more readable imo, and could also make it easier to create dedicated unit tests for each method

Thanks for the preliminary review, though :) BTW, test coverage is already pretty good for the affected lines of code.

@erlend-aasland erlend-aasland marked this pull request as ready for review July 17, 2023 21:04
Tools/clinic/clinic.py Outdated Show resolved Hide resolved
Tools/clinic/clinic.py Outdated Show resolved Hide resolved
Tools/clinic/clinic.py Outdated Show resolved Hide resolved
@erlend-aasland
Copy link
Contributor Author

Latest remarks addressed in deb05a2. Thanks!

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

This is a great improvement. Thanks!

Tools/clinic/clinic.py Outdated Show resolved Hide resolved
Tools/clinic/clinic.py Outdated Show resolved Hide resolved
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@erlend-aasland erlend-aasland enabled auto-merge (squash) July 17, 2023 21:46
@erlend-aasland erlend-aasland merged commit 00e52ac into python:main Jul 17, 2023
21 checks passed
@erlend-aasland erlend-aasland deleted the clinic/modernise-parse-special-symbol branch August 22, 2023 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants