Skip to content

The --config option with absolute paths will be loaded only once. - #14902

Closed
ryumasai wants to merge 1 commit into
ipython:mainfrom
ryumasai:dev_14723
Closed

ryumasai wants to merge 1 commit into
ipython:mainfrom
ryumasai:dev_14723

Conversation

@ryumasai

Copy link
Copy Markdown

Implements #14723

The --config option with absolute paths will be loaded only once.

It may not be necessary, but I hope I contributed!
This is my first contribution to this project, so please let me know if I am missing anything.

@krassowski

Copy link
Copy Markdown
Member

It feels like this should be fixed in traitlets instead, this is if filename is absolute, the list of paths should not be iterated here:

https://github.com/ipython/traitlets/blob/064480919b68d7c5cd23e74f7e0b4c6f83f8bd0f/traitlets/config/application.py#L889-L906

@ryumasai

Copy link
Copy Markdown
Author

@krassowski
Thanks for your feedback.
Indeed it is.
I will re-create the PR in traitlets.

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.

3 participants