8000 TPI: Python Lower Risk of Losing First Command · Issue #22925 · microsoft/vscode-python · GitHub
[go: up one dir, main page]

Skip to content
TPI: Python Lower Risk of Losing First Command #22925
@anthonykim1

Description

@anthonykim1

Refs: #22673 #22545 #22691

Complexity: 2

Create Issue


Thank you in advance for testing this TPI.

Background Information

Reported number of Python REPL users, especially those with older machines, have been suffering from a problem where the very first Python command they run (e.g. by shift+enter in a line of Python code), was ignored completely and not sent to Python REPL or pasted multiple times in their shell that launches Python REPL instead of inside Python REPL.

Setup:

  1. Make sure you have Python installed in your computer.

Steps:

  1. Open Python file. (aka. .py file)
  2. Write some Python code. (Ignore this step if you already have Python code in your previously set up Python file)
  3. Shift+enter on line with Python code to see whether the code you just executed has been sent to Python REPL properly. Observe that the command you sent was not ignored. Also observe if command hasn't been duplicated into Shell that launches your Python REPL as well as to your Python REPL.
  4. Try Python: Clear Cache and reload via control(command for mac)+shift+p.
  5. Shift+enter on line with Python code
  6. Observe Python command has not been ignored, or duplicated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0