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: Remove warning: ‘res’ may be used uninitialized in this function
Type: Stage: resolved
Components: Versions: Python 3.9, Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: corona10 Nosy List: corona10, miss-islington, vstinner
Priority: normal Keywords: patch

Created on 2019-10-10 05:02 by corona10, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 16688 merged corona10, 2019-10-10 05:05
PR 16693 merged miss-islington, 2019-10-10 07:41
PR 16694 merged miss-islington, 2019-10-10 07:41
Messages (4)
msg354312 - (view) Author: Dong-hee Na (corona10) * (Python committer) Date: 2019-10-10 05:02
Python/Python-ast.c: In function ‘PyAST_obj2mod’:
Python/Python-ast.c:10253:12: warning: ‘res’ may be used uninitialized in this function [-Wmaybe-uninitialized]

CentOS Linux release 7.6.1810
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
msg354322 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-10-10 07:41
New changeset a05fcd3c7adf6e3a0944da8cf80a3346882e9b3b by Victor Stinner (Dong-hee Na) in branch 'master':
bpo-38425: Fix ‘res’ may be used uninitialized warning (GH-16688)
https://github.com/python/cpython/commit/a05fcd3c7adf6e3a0944da8cf80a3346882e9b3b
msg354329 - (view) Author: miss-islington (miss-islington) Date: 2019-10-10 08:00
New changeset 6b6935e563562c427d5bb1b2864d6a2fed0e74fa by Miss Islington (bot) in branch '3.8':
bpo-38425: Fix ‘res’ may be used uninitialized warning (GH-16688)
https://github.com/python/cpython/commit/6b6935e563562c427d5bb1b2864d6a2fed0e74fa
msg354330 - (view) Author: miss-islington (miss-islington) Date: 2019-10-10 08:00
New changeset d27a9b1695a1b46c81b3a83a7a35034791265d89 by Miss Islington (bot) in branch '3.7':
bpo-38425: Fix ‘res’ may be used uninitialized warning (GH-16688)
https://github.com/python/cpython/commit/d27a9b1695a1b46c81b3a83a7a35034791265d89
History
Date User Action Args
2022-04-11 14:59:21adminsetgithub: 82606
2019-10-10 08:01:19corona10setstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-10-10 08:00:44miss-islingtonsetmessages: + msg354330
2019-10-10 08:00:30miss-islingtonsetnosy: + miss-islington
messages: + msg354329
2019-10-10 07:41:43miss-islingtonsetpull_requests: + pull_request16280
2019-10-10 07:41:37miss-islingtonsetstage: patch review
pull_requests: + pull_request16279
2019-10-10 07:41:29vstinnersetnosy: + vstinner
messages: + msg354322
2019-10-10 05:19:25corona10setstage: patch review -> (no value)
versions: + Python 3.8
2019-10-10 05:05:46corona10setkeywords: + patch
stage: patch review
pull_requests: + pull_request16274
2019-10-10 05:02:14corona10create