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.

classification
Title: The python PEG generator incorrectly handles empty sequences in gather rules
Type: Stage: resolved
Components: Versions: Python 3.10, Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: lys.nikolaou, pablogsal
Priority: normal Keywords: patch

Created on 2020-08-30 20:08 by pablogsal, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 22021 merged pablogsal, 2020-08-30 20:08
Messages (1)
msg376129 - (view) Author: Pablo Galindo Salgado (pablogsal) * (Python committer) Date: 2020-08-30 20:08
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.
History
Date User Action Args
2022-04-11 14:59:35adminsetgithub: 85833
2020-10-19 17:09:38lys.nikolaousetmessages: - msg378963
2020-10-19 17:08:46lys.nikolaousetstatus: open -> closed

nosy: + lys.nikolaou
messages: + msg378963

resolution: fixed
stage: patch review -> resolved
2020-08-30 20:08:49pablogsalsetkeywords: + patch
stage: patch review
pull_requests: + pull_request21121
2020-08-30 20:08:36pablogsalcreate