[New-bugs-announce] [issue39271] Dead assignment in pattern_subx

Alex Henrie report at bugs.python.org
Wed Jan 8 23:22:03 EST 2020


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

The function pattern_subx currently sets the variable b to charsize, but that variable is reset to STATE_OFFSET(&state, state.start) before it is ever used.

----------
components: Regular Expressions
messages: 359653
nosy: alex.henrie, ezio.melotti, mrabarnett
priority: normal
severity: normal
status: open
title: Dead assignment in pattern_subx
type: performance
versions: Python 3.9

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


More information about the New-bugs-announce mailing list