Message359652
config_init_module_search_paths currently has the following code:
const wchar_t *p = sys_path;
while (1) {
p = wcschr(sys_path, delim);
The first assignment to p is unnecessary because it is immediately overwritten. Victor Stinner suggested moving the variable declaration into the loop itself to clarify that it does not need to be initialized elsewhere: https://github.com/python/cpython/pull/16267/files#r364216448 |
|
Date |
User |
Action |
Args |
2020-01-09 04:14:48 | alex.henrie | set | recipients:
+ alex.henrie |
2020-01-09 04:14:48 | alex.henrie | set | messageid: <1578543288.1.0.568310350054.issue39270@roundup.psfhosted.org> |
2020-01-09 04:14:48 | alex.henrie | link | issue39270 messages |
2020-01-09 04:14:47 | alex.henrie | create | |
|