BPO | [40179](https://bugs.python.org/issue40179) --- | :--- Nosy | @larryhastings, @serhiy-storchaka PRs | python/cpython#19364python/cpython#19360python/cpython#19583python/cpython#19584 *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.* Show more details GitHub fields: ```python assignee = None closed_at = created_at = labels = ['3.8', 'build', '3.7', 'expert-argument-clinic', '3.9'] title = 'Argument Clinic incorretly translates #elif' updated_at = user = 'https://github.com/serhiy-storchaka' ``` bugs.python.org fields: ```python activity = actor = 'serhiy.storchaka' assignee = 'none' closed = True closed_date = closer = 'serhiy.storchaka' components = ['Build', 'Argument Clinic'] creation = creator = 'serhiy.storchaka' dependencies = [] files = [] hgrepos = [] issue_num = 40179 keywords = ['patch'] message_count = 6.0 messages = ['365769', '365772', '365790', '366721', '366723', '366724'] nosy_count = 2.0 nosy_names = ['larry', 'serhiy.storchaka'] pr_nums = ['19364', '19360', '19583', '19584'] priority = 'normal' resolution = 'fixed' stage = 'resolved' status = 'closed' superseder = None type = 'compile error' url = 'https://bugs.python.org/issue40179' versions = ['Python 3.7', 'Python 3.8', 'Python 3.9'] ```
Activity
serhiy-storchaka commentedon Apr 4, 2020
It converts
into
The correct translation is:
larryhastings commentedon Apr 4, 2020
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".
serhiy-storchaka commentedon Apr 4, 2020
See PR 19360 for real example.
serhiy-storchaka commentedon Apr 18, 2020
New changeset 12446e6 by Serhiy Storchaka in branch 'master':
bpo-40179: Fix translation of #elif in Argument Clinic (GH-19364)
12446e6
serhiy-storchaka commentedon Apr 18, 2020
New changeset bfda4db by Serhiy Storchaka in branch '3.8':
[3.8] bpo-40179: Fix translation of #elif in Argument Clinic (GH-19364) (GH-19583)
bfda4db
serhiy-storchaka commentedon Apr 18, 2020
New changeset 67ae454 by Serhiy Storchaka in branch '3.7':
[3.7] bpo-40179: Fix translation of #elif in Argument Clinic (GH-19364) (GH-19584)
67ae454