Skip to content
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

Add support for ptpython config and history files #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maxnordlund
Copy link

@maxnordlund maxnordlund commented Mar 9, 2020

This uses the official/upstream way of finding the config and history file, since ~/.ptpython/config.py is deprecated. It also uses the global ones, though it can be easily extended to support per project config and history. But that's for a rainy day, unless @bersace want's to extend this with his change?

Fixes #7 and fixes #13.

This uses the official/upstream way of finding the config and history file,
since ~/.ptpython/config.py is deprecated. It also uses the global ones,
though it can be easily extended to support per project config and history.
But that's for a rainy day.

Fixes jacquerie#7 and jacquerie#13.
@bersace
Copy link

bersace commented Mar 27, 2020

I'm ok for a global one for now. By global, you mean shared by all ptpython instances ? not only flask ones ?

@maxnordlund
Copy link
Author

Global as in all ptpython instances. It's basically copied from the ptpython cli.

@azmeuk
Copy link

azmeuk commented Mar 4, 2022

Hi @jacquerie. Is there a chance you might review this soon?

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.

Persistent history Use configuration file in home directory
3 participants