Skip to content

Don't pollute history with duplicate entries during reload-and-clear-modules #816

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

Merged
merged 3 commits into from
Jul 1, 2020

Conversation

allgo27
Copy link
Contributor

@allgo27 allgo27 commented Jul 1, 2020

Made small change in repl.py -- self.reevaluate(new_code=False) rather than True now.

@thomasballinger thomasballinger changed the title Clear modules Don't pollute history with duplicate entries with full reload Jul 1, 2020
@thomasballinger
Copy link
Member

With this change, an F6 reload-and-clear-modules or F5 automatic reload-and-clear-modules will no longer add every line of code to readline history again.

@thomasballinger thomasballinger changed the title Don't pollute history with duplicate entries with full reload Don't pollute history with duplicate entries during reload-and-clear-modules Jul 1, 2020
@thomasballinger thomasballinger merged commit 471fa82 into bpython:master Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants