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

bpo-38903: Remove #if block that is not used on parsetok.c #17365

Merged
merged 1 commit into from Jan 13, 2020

Conversation

@eamanu
Copy link
Contributor

eamanu commented Nov 24, 2019

On parsetok.c we can see a #if that has not effect on compilation

https://bugs.python.org/issue38903

On parsetok.c we can see a #if that has not effect on compilation
Copy link
Contributor

shihai1991 left a comment

No code call this function, so LGTM.

@eamanu

This comment has been minimized.

Copy link
Contributor Author

eamanu commented Nov 25, 2019

I ping to @brettcannon because on commit e3944a5 added it, to understand the context and to know if is safety remove it.

@brettcannon

This comment has been minimized.

Copy link
Member

brettcannon commented Nov 26, 2019

@eamanu best I can think of is it was left there as an example. Otherwise that was over a decade ago so 🤷‍♂️

@pablogsal pablogsal merged commit d23f782 into python:master Jan 13, 2020
4 checks passed
4 checks passed
Azure Pipelines PR #20191124.1 succeeded
Details
bedevere/issue-number Issue number 38903 found
Details
bedevere/news "skip news" label found
continuous-integration/travis-ci/pr The Travis CI build passed
Details
sthagen added a commit to sthagen/cpython that referenced this pull request Jan 13, 2020
Remove unused functions in Parser/parsetok.c (pythonGH-17365)
@eamanu eamanu deleted the eamanu:fix-38903 branch Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants
You can’t perform that action at this time.