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.

Author alex.henrie
Recipients alex.henrie
Date 2020-01-09.04:14:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578543288.1.0.568310350054.issue39270@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2020-01-09 04:14:48alex.henriesetrecipients: + alex.henrie
2020-01-09 04:14:48alex.henriesetmessageid: <1578543288.1.0.568310350054.issue39270@roundup.psfhosted.org>
2020-01-09 04:14:48alex.henrielinkissue39270 messages
2020-01-09 04:14:47alex.henriecreate