]> granicus.if.org Git - python/commit
[3.8] bpo-3832: Fix compiler warnings (GH-16518)
authorVictor Stinner <vstinner@python.org>
Tue, 1 Oct 2019 11:52:00 +0000 (13:52 +0200)
committerGitHub <noreply@github.com>
Tue, 1 Oct 2019 11:52:00 +0000 (13:52 +0200)
commitbfe1f74e39d0049a829962050e86a6a2d2a2781e
treed21d3929fc052b226a7239d4187869d6889e0b2d
parent6b4c70abcaa348c84a2c1bb6f5a46596cf358e36
[3.8] bpo-3832: Fix compiler warnings (GH-16518)

* bpo-38321: Fix _asynciomodule.c compiler warning (GH-16493)

bpo-38248, bpo-38321: Fix warning:

    modules\_asynciomodule.c(2667):
    warning C4102: 'set_exception': unreferenced label

The related goto has been removed by
commit edad4d89e357c92f70c0324b937845d652b20afd.

(cherry picked from commit efe74b6369a8d08f27c69703fcc1686966e51068)

* bpo-38321: Fix PyCStructUnionType_update_stgdict() warning (GH-16492)

bpo-22273, bpo-38321: Fix following warning:

    modules\_ctypes\stgdict.c(704):
    warning C4244: 'initializing': conversion from 'Py_ssize_t' to 'int', possible loss of data

(cherry picked from commit c9a413ede47171a224c72dd34122005170caaad4)
Modules/_asynciomodule.c
Modules/_ctypes/stgdict.c