
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2020-04-04 16:26 byserhiy.storchaka, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 19364 | merged | serhiy.storchaka,2020-04-04 16:37 | |
| PR 19360 | serhiy.storchaka,2020-04-04 16:45 | ||
| PR 19583 | merged | serhiy.storchaka,2020-04-18 14:58 | |
| PR 19584 | merged | serhiy.storchaka,2020-04-18 15:09 | |
| Messages (6) | |||
|---|---|---|---|
| msg365769 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2020-04-04 16:26 | |
It converts #if A ... #elif B ... #else ... #endifinto #if A ... #endif /* A */ #if B ... #endif /* B */ #if !B ... #endif /* !B */The correct translation is: #if A ... #endif /* A */ #if !A && B ... #endif /* !A && B */ #if !A && !B ... #endif /* !A && !B */ | |||
| msg365772 -(view) | Author: Larry Hastings (larry)*![]() | Date: 2020-04-04 19:07 | |
Good catch, and thanks for submitting a patch too! I want to play with your patch a little before I just say "yes of course". | |||
| msg365790 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2020-04-04 21:29 | |
SeePR 19360 for real example. | |||
| msg366721 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2020-04-18 14:52 | |
New changeset12446e6a605f066d837d3a595d0a73e4f3b43b65 by Serhiy Storchaka in branch 'master':bpo-40179: Fix translation of #elif in Argument Clinic (GH-19364)https://github.com/python/cpython/commit/12446e6a605f066d837d3a595d0a73e4f3b43b65 | |||
| msg366723 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2020-04-18 16:11 | |
New changesetbfda4db0d2c05eef4e4ae90d899d0b67cb2e33e5 by Serhiy Storchaka in branch '3.8':[3.8]bpo-40179: Fix translation of #elif in Argument Clinic (GH-19364) (GH-19583)https://github.com/python/cpython/commit/bfda4db0d2c05eef4e4ae90d899d0b67cb2e33e5 | |||
| msg366724 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2020-04-18 16:12 | |
New changeset67ae454da749a7ca67115b43205d9fe98bea3213 by Serhiy Storchaka in branch '3.7':[3.7]bpo-40179: Fix translation of #elif in Argument Clinic (GH-19364) (GH-19584)https://github.com/python/cpython/commit/67ae454da749a7ca67115b43205d9fe98bea3213 | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:29 | admin | set | github: 84360 |
| 2020-04-18 16:13:03 | serhiy.storchaka | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2020-04-18 16:12:18 | serhiy.storchaka | set | messages: +msg366724 |
| 2020-04-18 16:11:52 | serhiy.storchaka | set | messages: +msg366723 |
| 2020-04-18 15:09:07 | serhiy.storchaka | set | pull_requests: +pull_request18921 |
| 2020-04-18 14:58:19 | serhiy.storchaka | set | pull_requests: +pull_request18920 |
| 2020-04-18 14:52:51 | serhiy.storchaka | set | messages: +msg366721 |
| 2020-04-04 21:29:27 | serhiy.storchaka | set | messages: +msg365790 |
| 2020-04-04 19:07:34 | larry | set | messages: +msg365772 |
| 2020-04-04 16:45:49 | serhiy.storchaka | set | pull_requests: +pull_request18727 |
| 2020-04-04 16:37:37 | serhiy.storchaka | set | keywords: +patch stage: patch review pull_requests: +pull_request18726 |
| 2020-04-04 16:26:41 | serhiy.storchaka | create | |