GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Possible loss of data warnings when building 32bit executable since 3.11 · Issue #92434 · python/cpython

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

New issue
Copy link
New issue
Copy link
Closed
#93090
Closed
Possible loss of data warnings when building 32bit executable since 3.11#92434
#93090
Copy link
Assignees
erlend-aasland
Labels
topic-sqlite3topic-subinterpreterstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@neonene
neonene
opened on May 7, 2022
Issue body actions

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.

Activity

  1. neonene
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on May 7, 2022
  2. neonene
    changed the title [-]Possible loss of data warnings when building 32bit executable on Windows[/-] [+]Possible loss of data warnings when building 32bit executable on Windows (_sqlite/_xxsubinterpretersmodule)[/+] on May 8, 2022
  3. neonene
    changed the title [-]Possible loss of data warnings when building 32bit executable on Windows (_sqlite/_xxsubinterpretersmodule)[/-] [+]Possible loss of data warnings when building 32bit executable on Windows (_xxsubinterpreters&_sqlite)[/+] on May 8, 2022
  4. erlend-aasland
    added
    topic-sqlite3
    on May 23, 2022
  5. erlend-aasland
    added this to sqlite3 issueson May 23, 2022
  6. erlend-aasland
    added
    topic-subinterpreters
    on May 23, 2022
  7. erlend-aasland
    added this to Subinterpreterson May 23, 2022
  8. erlend-aasland
    self-assigned this
    on May 23, 2022
  9. corona10
    added a commit that references this issue on May 25, 2022

    gh-92434: Silence a compiler warning in _xxsubinterpretersmodule.c fo…

    ac1dcb8
  10. erlend-aasland
    moved this to TODO: Bugs in sqlite3 issueson May 25, 2022
  11. erlend-aasland
    linked a pull request that will close this issuegh-92434: Silence a compiler warning in _sqlite/connection.c for 32bit version #93090on May 25, 2022
  12. erlend-aasland
    moved this from TODO: Bugs to In Progress in sqlite3 issueson May 25, 2022
  13. neonene
    changed the title [-]Possible loss of data warnings when building 32bit executable on Windows (_xxsubinterpreters&_sqlite)[/-] [+]Possible loss of data warnings when building 32bit executable since 3.11[/+] on May 26, 2022
  14. erlend-aasland
    closed this as completedin #93090on Jun 10, 2022
  15. Repository owner moved this from In Progress to Done in sqlite3 issueson Jun 10, 2022
  16. erlend-aasland
    moved this to Done in Subinterpreterson Jun 10, 2022
  17. erlend-aasland
    added a commit that references this issue on Jun 10, 2022

    gh-92434: Silence compiler warning in Modules/_sqlite/connection.c on…

    d8395eb
  18. miss-islington
    added 2 commits that reference this issue on Jun 10, 2022

    pythongh-92434: Silence compiler warning in Modules/_sqlite/connectio…

    0ba65f4

    gh-92434: Silence compiler warning in Modules/_sqlite/connection.c on…

    f384a8e
  19. erlend-aasland commented on Jun 10, 2022

    @erlend-aasland
    erlend-aasland
    on Jun 10, 2022
    Contributor
    More actions

    Fixed with the following PRs:

    • gh-92434: Silence a compiler warning in _xxsubinterpretersmodule.c for 32bit version #93091
    • gh-92434: Silence a compiler warning in _sqlite/connection.c for 32bit version #93090
    • [3.11] gh-92434: Silence compiler warning in Modules/_sqlite/connection.c on 32-bit systems (GH-93090) #93672
  20. neonene commented on Jun 10, 2022

    @neonene
    neonene
    on Jun 10, 2022
    ContributorAuthor
    More actions

    For the record, there is a slight possibility that _sqlite/connection.c is just silenced.
    I won't open an issue without a reproducer.

    Reacted by Erlend E. Aasland
  21. serhiy-storchaka
    added a commit that references this issue on Jun 26, 2022

    Revert 30935 defer bpo45162 to 312 (#94285)

    1ffde3e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @erlend-aasland
    erlend-aasland

Labels

topic-sqlite3topic-subinterpreterstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Projects

  • Subinterpreters
    Status
    Done
    Show more project fields
  • sqlite3 issues
    Status
    Done
    Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.