Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python Repl: New REPL view opened on every invocation #23500

Closed
aeschli opened this issue May 28, 2024 · 0 comments · Fixed by #23496
Closed

Python Repl: New REPL view opened on every invocation #23500

aeschli opened this issue May 28, 2024 · 0 comments · Fixed by #23496
Assignees
Labels
triage-needed Needs assignment to the proper sub-team

Comments

@aeschli
Copy link

aeschli commented May 28, 2024

Testing #23484

Python v2024.7.11491011 (pre-release)

  • Have settings:
{
    "interactiveWindow.executeWithShiftEnter": false,
    "python.REPL.sendToNativeREPL": true
}
  • Have file z_lib .py
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
image

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label May 28, 2024
DonJayamanne pushed a commit to DonJayamanne/pythonVSCode that referenced this issue Jun 24, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants