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

bpo-39943: Remove unused arg from find_nfc_index() by petdance · Pull Request #18973 · python/cpython · GitHub

Repository navigation

bpo-39943: Remove unused arg from find_nfc_index() - #18973

Merged
vstinner merged 1 commit into
python:masterfrom
petdance:bpo-39943-Modules-unicodedata-B
Mar 17, 2020
Merged

vstinner merged 1 commit into
python:masterfrom
petdance:bpo-39943-Modules-unicodedata-B

Conversation

petdance commented Mar 13, 2020 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

Remove unused arg from find_nfc_index()

https://bugs.python.org/issue39943

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

@petdance Nice catch!
How did you find it?

Copy link
Copy Markdown
Contributor Author

Thanks. I used GCC's -Wunused-parameter option and waded through all the false positives.

It would be nice if we could have -Wunused-parameter on by default, but there are so many API methods that pass unnecessary parameters, it would make too much noise. Either that, or we'd have to mark every unused parameter with Py_UNUSED, but that would be pretty ugly.

Copy link
Copy Markdown
Member

@petdance Nice!

vstinner merged commit 982307b into python:master Mar 17, 2020

Copy link
Copy Markdown
Contributor Author

Thanks for merging this, @vstinner. Now I can refork my repo to get rid of whatever weird commits I have that caused problems before.

petdance deleted the bpo-39943-Modules-unicodedata-B branch March 17, 2020 16:59
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL