Assigning generator to slice from same list: incomatibility with Cpython3.7 / PyPy3.6-7.3.3
Hello, it seems that the latest release introduced a change in the evaluation of the following snippet:
numbers = [1, 2, 3] numbers[:] = (n for n in numbers if n % 2)
In cpython3.7/pypy3.6 we get
[1, 3], but in the latest release we get
. This incompatibility is causing issues with VSCode https://github.com/microsoft/vscode-python/issues/15960 (although I'm pretty confident we can get them to fix, as I wouldn't want to rely on this kind of subtle ordering of evaluation in my own code).
Sorry to be raising so many issues - next time I'll take the rc for a spin!