New issue 2804: extended slice assignment differences
https://bitbucket.org/pypy/pypy/issues/2804/extended-slice-assignment-differences

Christoph Reiter:

```
a = []
a[::-1] = [42]
print(a)
```

CPython:
```
ValueError: attempt to assign sequence of size 1 to extended slice of size 0
```

PyPy: no error, it adds 42 to the list.


_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to