Title: The python PEG generator incorrectly handles empty sequences in gather rules
Type: Stage: resolved
Components: Versions: Python 3.10, Python 3.9
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 2020-10-19 17:09 by lys.nikolaou. 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
Date User Action Args
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