[New-bugs-announce] [issue41667] The python PEG generator incorrectly handles empty sequences in gather rules

Pablo Galindo Salgado report at bugs.python.org
Sun Aug 30 16:08:36 EDT 2020


New submission from Pablo Galindo Salgado <pablogsal at gmail.com>:

Currently, empty sequences in gather rules make the conditional for
gather rules fail as empty sequences evaluate as "False". We need to
explicitly check for "None" (the failure condition) to avoid false
negatives.

----------
messages: 376129
nosy: pablogsal
priority: normal
severity: normal
status: open
title: The python PEG generator incorrectly handles empty sequences in gather rules
versions: Python 3.10, Python 3.9

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


More information about the New-bugs-announce mailing list