Skip to content

bpo-30841: Fix a shadow-compatible-local warning #2180

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
Aug 4, 2017
Merged

Conversation

OswinC
Copy link
Contributor

@OswinC OswinC commented Jun 14, 2017

The shadow-compatible-local warnings are reported when I am compiling the source code. Please consider this PR for fixing it.

  • Change the shadowing naming, 'value', to 'val' to prevent the variables from being misused.

Change the shadowing naming, 'value' (Python-ast.c:4652), to 'val'
to prevent the variables from being misused.
@OswinC OswinC changed the title Fix a shadow-compatible-local warning trivial- Fix a shadow-compatible-local warning Jun 14, 2017
@OswinC OswinC changed the title trivial- Fix a shadow-compatible-local warning trivial: Fix a shadow-compatible-local warning Jun 14, 2017
@ned-deily
Copy link
Member

@OswinC, please open an issue about this on bugs.python.org and change the title of your three PRs to reference that issue, i.e. bpo-nnnnn: Fix a ... This seems to be more than just a trivial change or, at least, needs a better justification.

@OswinC OswinC changed the title trivial: Fix a shadow-compatible-local warning bpo-30841: Fix a shadow-compatible-local warning Jul 3, 2017
@OswinC
Copy link
Contributor Author

OswinC commented Jul 3, 2017

@ned-deily, no problem. Issue created: http://bugs.python.org/issue30841.

@ambv ambv merged commit 2af565b into python:master Aug 4, 2017
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.

4 participants