Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue36385

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Add ``elif`` sentence on to avoid multiple ``if``
Type:behaviorStage:resolved
Components:Versions:Python 3.8
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To:Nosy List: eamanu, miss-islington, rhettinger
Priority:normalKeywords:patch

Created on2019-03-21 01:44 byeamanu, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 12478mergedeamanu,2019-03-21 01:45
Messages (3)
msg338519 -(view)Author: Emmanuel Arias (eamanu)*Date: 2019-03-21 01:44
Currently, when arguments onParser/asdl_c.py are parsedìf sentence is used. This PR(https://github.com/python/cpython/pull/12478) Propose to use elifto avoid multiple evaluting of the ifs.
msg338523 -(view)Author: miss-islington (miss-islington)Date: 2019-03-21 04:39
New changeseted5e29cba500c2336aacdb7c77953f1064235b72 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
DateUserActionArgs
2022-04-11 14:59:12adminsetgithub: 80566
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
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp