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: Compiler warnings in unicodeobject.c
Type: behavior Stage: resolved
Components: Interpreter Core Versions:
process
Status: closed Resolution: duplicate
Dependencies: Superseder: PyUnicode_IsIdentifier has two if/thens that can be combined
View: 39684
Assigned To: Nosy List: ronaldoussoren, serhiy.storchaka
Priority: normal Keywords:

Created on 2020-02-19 19:27 by serhiy.storchaka, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg362288 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2020-02-19 19:27
Objects/clinic/unicodeobject.c.h: In function ‘unicode_isidentifier’:
Objects/unicodeobject.c:12245:22: warning: ‘wstr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
             ch = wstr[i];
                  ~~~~^~~
Objects/unicodeobject.c:12212:14: note: ‘wstr’ was declared here
     wchar_t *wstr;
              ^~~~
Objects/unicodeobject.c: In function ‘PyUnicode_IsIdentifier’:
Objects/unicodeobject.c:12245:22: warning: ‘wstr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
             ch = wstr[i];
                  ~~~~^~~
msg362305 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2020-02-20 10:19
issue39684 has a PR for this.
History
Date User Action Args
2022-04-11 14:59:26adminsetgithub: 83871
2021-01-11 23:02:52iritkatrielsetstatus: open -> closed
resolution: duplicate
superseder: PyUnicode_IsIdentifier has two if/thens that can be combined
stage: resolved
2020-02-20 10:19:25ronaldoussorensetnosy: + ronaldoussoren
messages: + msg362305
2020-02-19 19:27:32serhiy.storchakacreate