X Tutup
Skip to content

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

Merged
thomasballinger merged 3 commits intobpython:masterfrom
allgo27:clear_modules
Jul 1, 2020
Merged

Don't pollute history with duplicate entries during reload-and-clear-modules#816
thomasballinger merged 3 commits intobpython:masterfrom
allgo27:clear_modules

Conversation

@allgo27
Copy link
Copy Markdown
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
Copy Markdown
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

X Tutup