bpo-30841: Fix a shadow-compatible-local warning by OswinC · Pull Request #2180 · python/cpython · GitHub
Skip to content

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

Merged
ambv merged 1 commit into
python:masterfrom
OswinC:master
Aug 4, 2017
Merged

ambv merged 1 commit into
python:masterfrom
OswinC:master

Conversation

@OswinC

@OswinC OswinC commented Jun 14, 2017

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Member

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

OswinC commented Jul 3, 2017

Copy link
Copy Markdown
Contributor Author

@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