[pypy-issue] Issue #2804: extended slice assignment differences (pypy/pypy)
Christoph Reiter
issues-reply at bitbucket.org
Sat Apr 21 16:26:17 EDT 2018
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.
More information about the pypy-issue
mailing list