Skip to content

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