Skip to content

"Current Session" commands are still REPL commands after exiting REPL #22780

Description

@andreamah

Testing #22647

  1. Open the Python REPL and run some commands.
  2. Use quit() to leave the REPL.
  3. Run recent command
  4. The "current session" lists the commands that you used in your REPL, which are no longer valid in the current terminal because you existed the REPL. 🐛
image

Maybe this is out of your control and needs to be in the API for contributing recent commands- I just think that the recent commands should reflect what is valid in the current terminal.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions