This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Control reaches end of non-void function in specialize.c
Type: compile error Stage: resolved
Components: Interpreter Core Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: kj, serhiy.storchaka
Priority: normal Keywords:

Created on 2021-09-17 05:57 by serhiy.storchaka, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg402001 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2021-09-17 05:57
Python/specialize.c: In function ‘load_method_fail_kind’:
Python/specialize.c:878:1: warning: control reaches end of non-void function [-Wreturn-type]
  878 | }
      | ^
msg402018 - (view) Author: Ken Jin (kj) * (Python committer) Date: 2021-09-17 09:19
Please see https://bugs.python.org/issue45203. A fix is available at https://github.com/python/cpython/pull/28357 or https://github.com/python/cpython/pull/28386. But we're waiting for Windows CI to pass.
msg402024 - (view) Author: Ken Jin (kj) * (Python committer) Date: 2021-09-17 09:50
Fixed in https://github.com/python/cpython/commit/4857e53890408fd5a8ee0e83c0250dd5355b3de3.
History
Date User Action Args
2022-04-11 14:59:50adminsetgithub: 89390
2021-09-17 09:50:31kjsetstatus: open -> closed
resolution: fixed
messages: + msg402024

stage: resolved
2021-09-17 09:19:37kjsetnosy: + kj
messages: + msg402018
2021-09-17 05:57:31serhiy.storchakacreate