You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix ast.unparse() for subscription by extended slices and tuples #84070
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:
assignee=Noneclosed_at=<Date2020-03-08.10:44:34.333>created_at=<Date2020-03-07.14:41:32.899>labels= ['3.7', '3.8', 'type-bug', 'library', '3.9']
title='Fix ast.unparse() for subscription by extended slices and tuples'updated_at=<Date2020-03-08.10:44:34.332>user='https://github.com/serhiy-storchaka'
Activity
serhiy-storchaka commentedon Mar 7, 2020
ast.unparse() produces incorrect output for ExtSlice containing a single element:
a[i:j]
It also produces redundant parenthesis for Index containing Tuple:
a[(i, j)]
serhiy-storchaka commentedon Mar 7, 2020
New changeset c4928fc by Serhiy Storchaka in branch 'master':
bpo-39889: Fix ast.unparse() for subscript. (GH-18824)
c4928fc
serhiy-storchaka commentedon Mar 7, 2020
New changeset 92b7278 by Serhiy Storchaka in branch '3.8':
[3.8] bpo-39889: Fix unparse.py for subscript. (GH-18824). (GH-18826)
92b7278
miss-islington commentedon Mar 7, 2020
New changeset 65b0310 by Miss Islington (bot) in branch '3.7':
[3.8] bpo-39889: Fix unparse.py for subscript. (GH-18824). (GH-18826)
65b0310