Testing #23484
Python v2024.7.11491011 (pre-release)
{
"interactiveWindow.executeWithShiftEnter": false,
"python.REPL.sendToNativeREPL": true
}
import zlib
string = b'witch which has which witches wrist watch'
assert len(string) == 41
zlib_compressed_string = zlib.compress(string)
assert len(zlib_compressed_string) == 37
zlib_decompressed_string = zlib.decompress(zlib_compressed_string)
assert zlib_decompressed_string == b'witch which has which witches wrist watch'
assert zlib.crc32(string) == 226805979
- Select
import zlib and press Shift + Enter. The expression is evaluated in the REPL ✔️
- Select
string = b'witch which has which witches wrist watch' and press Shift + Enter. The expression is evaluated in the REPL, but it's a new view
I end up with a lot of views

Testing #23484
Python v2024.7.11491011 (pre-release)
z_lib .pyimport zliband pressShift + Enter. The expression is evaluated in the REPL ✔️string = b'witch which has which witches wrist watch'and pressShift + Enter. The expression is evaluated in the REPL, but it's a new viewI end up with a lot of views
