Skip to content

Support command history in PyREPL on Windows #122273

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

Closed
devdanzin opened this issue Jul 25, 2024 · 2 comments
Closed

Support command history in PyREPL on Windows #122273

devdanzin opened this issue Jul 25, 2024 · 2 comments
Labels
OS-windows topic-repl Related to the interactive shell type-feature A feature request or enhancement

Comments

@devdanzin
Copy link
Contributor

devdanzin commented Jul 25, 2024

Feature or enhancement

Proposal:

The new PyREPL doesn't currently support recording command history in Windows. Using the _pyrepl.readline module, it should be possible to save and load history files on that platform.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

@devdanzin devdanzin added the type-feature A feature request or enhancement label Jul 25, 2024
@hugovk hugovk added OS-windows topic-repl Related to the interactive shell labels Jul 25, 2024
vstinner added a commit to vstinner/cpython that referenced this issue Nov 22, 2024
vstinner added a commit to vstinner/cpython that referenced this issue Nov 22, 2024
vstinner added a commit to vstinner/cpython that referenced this issue Nov 22, 2024
vstinner added a commit that referenced this issue Nov 26, 2024
vstinner added a commit to vstinner/cpython that referenced this issue Nov 26, 2024
vstinner added a commit that referenced this issue Nov 26, 2024
gh-122273: Support PyREPL history on Windows (#127141)

Co-authored-by: devdanzin <[email protected]>
(cherry picked from commit 3c7a90a)
@vstinner
Copy link
Member

Thanks @devdanzin for your bug report and your fix!

@vstinner
Copy link
Member

I closed #125154 as a duplicate of this issue.

ebonnal pushed a commit to ebonnal/cpython that referenced this issue Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS-windows topic-repl Related to the interactive shell type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

3 participants