Skip to content

Fix compilation warning for _YIELD_VALUE #149501

Closed

Description

@sergey-miryanov

Bug report

Bug description:

Following the recent changes to _YIELD_VALUE, MSVC emits warning 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

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    interpreter-core(Objects, Python, Grammar, and Parser dirs)
    3.15bugs and security fixes
    on May 7, 2026
  2. added 2 commits that reference this issue on May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.15bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions