Skip to content

Possible loss of data warnings when building 32bit executable since 3.11 #92434

Closed
@neonene

Description

@neonene

Windows (x86) buildbot shows two warnings on main branch:

  • channel_list_all() in _xxsubinterpretersmodule.c, using PyList_SET_ITEM() function
D:\a\cpython\cpython\Modules\_xxsubinterpretersmodule.c(2341,9): warning C4244:
'function': conversion from 'int64_t' to 'Py_ssize_t', possible loss of data

  • serialize_impl() in _sqlite/connection.c
D:\a\cpython\cpython\Modules\_sqlite\connection.c(2122,53): warning C4244:
'function': conversion from 'sqlite3_int64' to 'Py_ssize_t', possible loss of data

I'm not sure how to deal with them.

Metadata

Metadata

Projects

Status

Done

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions