classification
Title: Add ``elif`` sentence on to avoid multiple ``if``
Type: behavior Stage: resolved
Components: Versions: Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: eamanu, miss-islington, rhettinger
Priority: normal Keywords: patch

Created on 2019-03-21 01:44 by eamanu, last changed 2019-03-21 04:39 by rhettinger. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 12478 merged eamanu, 2019-03-21 01:45
Messages (3)
msg338519 - (view) Author: Emmanuel Arias (eamanu) * Date: 2019-03-21 01:44
Currently, when arguments on Parser/asdl_c.py are parsed
ìf sentence is used. This PR(https://github.com/python/cpython/pull/12478) Propose to use elif
to avoid multiple evaluting of the ifs.
msg338523 - (view) Author: miss-islington (miss-islington) Date: 2019-03-21 04:39
New changeset ed5e29cba500c2336aacdb7c77953f1064235b72 by Miss Islington (bot) (Emmanuel Arias) in branch 'master':
bpo-36385: Add ``elif`` sentence on to avoid multiple ``if`` (GH-12478)
https://github.com/python/cpython/commit/ed5e29cba500c2336aacdb7c77953f1064235b72
msg338524 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2019-03-21 04:39
Thanks for the patch.
History
Date User Action Args
2019-03-21 04:39:50rhettingersetstatus: open -> closed

nosy: + rhettinger
messages: + msg338524

resolution: fixed
stage: patch review -> resolved
2019-03-21 04:39:20miss-islingtonsetnosy: + miss-islington
messages: + msg338523
2019-03-21 01:45:25eamanusetkeywords: + patch
stage: patch review
pull_requests: + pull_request12430
2019-03-21 01:44:32eamanucreate