[New-bugs-announce] [issue39261] Dead assignment in pyinit_config

Alex Henrie report at bugs.python.org
Wed Jan 8 13:11:55 EST 2020


New submission from Alex Henrie <alexhenrie24 at gmail.com>:

The function pyinit_config currently contains the following line:

    config = &tstate->interp->config;

However, the config variable is not used after that point.

Victor Stinner has confirmed that this assignment is unnecessary: https://github.com/python/cpython/pull/16267/files#r364216184

----------
messages: 359619
nosy: alex.henrie
priority: normal
severity: normal
status: open
title: Dead assignment in pyinit_config

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39261>
_______________________________________


More information about the New-bugs-announce mailing list