-
-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Fix compilation warning for _YIELD_VALUE #149501
Copy link
Copy link
Open
Labels
3.15pre-release feature fixes, bugs and security fixespre-release feature fixes, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Metadata
Metadata
Assignees
Labels
3.15pre-release feature fixes, bugs and security fixespre-release feature fixes, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Bug report
Bug description:
Following the recent changes to
_YIELD_VALUE, MSVC emitswarning C4244: 'initializing': conversion from '__int64' to 'int', possible loss of data.I have a PR ready.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows
Linked PRs