Issue 36385: Add elif
sentence on to avoid multiple if
(original) (raw)
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/80566
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 2022-04-11 14:59 by admin. 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) * ![]() |
Date: 2019-03-21 04:39 |
Thanks for the patch. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:59:12 | admin | set | github: 80566 |
2019-03-21 04:39:50 | rhettinger | set | status: open -> closednosy: + rhettingermessages: + resolution: fixedstage: patch review -> resolved |
2019-03-21 04:39:20 | miss-islington | set | nosy: + miss-islingtonmessages: + |
2019-03-21 01:45:25 | eamanu | set | keywords: + patchstage: patch reviewpull_requests: + <pull%5Frequest12430> |
2019-03-21 01:44:32 | eamanu | create |