Skip to content

gh-92434: Silence a compiler warning in _xxsubinterpretersmodule.c for 32bit version - #93091

Merged
corona10 merged 1 commit into
python:mainfrom
neonene:xxwarn
May 25, 2022
Merged

corona10 merged 1 commit into
python:mainfrom
neonene:xxwarn

Conversation

@neonene

@neonene neonene commented May 23, 2022 •

Copy link
Copy Markdown
Contributor

Currently, 32bit version of channel_list_all() gets a possible loss of data warning on MSVC.

#92434

@corona10 corona10 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since PyObject *ids = PyList_New((Py_ssize_t)count); is already casted,
type casting for i will not be a problem.

lgtm

@neonene

neonene commented May 25, 2022

Copy link
Copy Markdown
Contributor Author

Thanks!

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.

5 participants