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

bpo-9566: Silence a warning in Python/getargs.c (Windows x64) by segevfiner · Pull Request #2890 · python/cpython · GitHub

Repository navigation

bpo-9566: Silence a warning in Python/getargs.c (Windows x64) - #2890

Merged
zooba merged 1 commit into
python:masterfrom
segevfiner:bpo-9566-getargs-warning
Jul 26, 2017
Merged

zooba merged 1 commit into
python:masterfrom
segevfiner:bpo-9566-getargs-warning

Conversation

segevfiner commented Jul 26, 2017 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor
..\Python\getargs.c(2058): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data

parser->kwtuple is created in Python/getargs.c:1958 with a size of type int, so the cast should be safe. Alternatively, we can convert the len and i local variables to be of Py_ssize_t.

Follow up to #2492.

https://bugs.python.org/issue9566

segevfiner changed the title bpo-9566: Fix a warning in Python/getargs.c (Windows x64) bpo-9566: Silence a warning in Python/getargs.c (Windows x64) Jul 26, 2017
zooba merged commit e7bc7aa into python:master Jul 26, 2017
segevfiner deleted the bpo-9566-getargs-warning branch July 26, 2017 16:10
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