Message359500
ExtSlice nodes without second value doesn't roundtrip properly
source: x[1:2,]
Expr(
value=Subscript(
value=Name(id='x', ctx=Load()),
- slice=ExtSlice(
- dims=[
- Slice(
- lower=Constant(value=1, kind=None),
- upper=Constant(value=2, kind=None),
- step=None)]),
+ slice=Slice(
+ lower=Constant(value=1, kind=None),
+ upper=Constant(value=2, kind=None),
+ step=None),
ctx=Load()))],
type_ignores=[])
(I have a fix for unifying both tuple, constant tuple and extslice dims traversing) |
|
Date |
User |
Action |
Args |
2020-01-07 10:27:23 | BTaskaya | set | recipients:
+ BTaskaya, brett.cannon, vstinner, levkivskyi, pablogsal, miss-islington, brandtbucher, Batuhan Taskaya |
2020-01-07 10:27:23 | BTaskaya | set | messageid: <1578392843.63.0.258174266651.issue38870@roundup.psfhosted.org> |
2020-01-07 10:27:23 | BTaskaya | link | issue38870 messages |
2020-01-07 10:27:23 | BTaskaya | create | |
|