Skip to content

gh-161625: Fix compiler warning in _uuid - #161628

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:uuid
Nov 8, 2026
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:uuid

Conversation

@vstinner

@vstinner vstinner commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Fix the warning on Windows when building Python in 32-bit:

Modules\_uuidmodule.c(302,50): warning C4244: 'initializing':
conversion from 'uint64_t' to 'Py_ssize_t', possible loss of data

Fix the warning on Windows when building Python in 32-bit:

    Modules\_uuidmodule.c(302,50): warning C4244: 'initializing':
    conversion from 'uint64_t' to 'Py_ssize_t', possible loss of data
@vstinner

vstinner commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

I checked Windows / Build and test (Win32, switch-case): https://github.com/python/cpython/actions/runs/42503179489/job/128800185165. The _uuid warning is gone. The 15 remaining warnings should be fixed by #161626.

@vstinner
vstinner merged commit c8eabcc into python:main Nov 8, 2026
57 checks passed
@vstinner
vstinner deleted the uuid branch November 8, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant