FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-93096: Remove `python -m base64 -t` by arhadthedev · Pull Request #94230 · python/cpython · GitHub

/ cpython Public

gh-93096: Remove python -m base64 -t - #94230

Merged
corona10 merged 8 commits into
python:mainfrom
arhadthedev:remove-base64-cli
Jul 2, 2022
Merged

gh-93096: Remove python -m base64 -t#94230
corona10 merged 8 commits into
python:mainfrom
arhadthedev:remove-base64-cli

Conversation

arhadthedev commented Jun 24, 2022
edited
Loading

Copy link
Copy Markdown
Member

test_base64.LegacyBase64TestCase.test_encodebytes/test_decodebytes is a more advanced version of the removed CLI argument.

The removed feature brings no benefit to an end user (unlike the rest of python -m base64).

Comment thread Lib/test/test_base64.py

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

Comment thread Lib/base64.py Outdated
@@ -570,8 +570,7 @@ def main():
usage = """usage: %s [-h|-d|-e|-u|-t] [file|-]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

nit: Can we update usage to use f-string?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Done. Should I go further and convert it to argparse?

Copy link
Copy Markdown
Member Author

I have made the requested changes; please review again.

Copy link
Copy Markdown

Thanks for making the requested changes!

@corona10: please review the changes made to this pull request.

bedevere-bot requested a review from corona10 July 2, 2022 06:45

corona10 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

lgtm

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL