pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/ipython/ipython/pull/15032

ssets/global-0bd78641c0a1f3e0.css" /> Adding check if file not found and cleanups (#14987) by aijadugar · Pull Request #15032 · ipython/ipython · GitHub
Skip to content

Adding check if file not found and cleanups (#14987)#15032

Open
aijadugar wants to merge 1 commit intoipython:mainfrom
aijadugar:fix/print-warning-if-config-not-opened
Open

Adding check if file not found and cleanups (#14987)#15032
aijadugar wants to merge 1 commit intoipython:mainfrom
aijadugar:fix/print-warning-if-config-not-opened

Conversation

@aijadugar
Copy link
Copy Markdown

what this PR do?

finds the file path,
if not found then prints warning.

tested with test_application.py file

clean-up code with better logic.

Fixes #14987

@Carreau Carreau changed the title adding chk if file not found and cleanups (#14987) Adding check if file not found and cleanups (#14987) Oct 30, 2025
@Carreau Carreau force-pushed the fix/print-warning-if-config-not-opened branch from 014f579 to c1a66c7 Compare December 3, 2025 17:44
@Carreau
Copy link
Copy Markdown
Member

Carreau commented Dec 3, 2025

If anything I think the logic should go up in traitlets; and we should carefully think about the warnings; I think it's ok to not have any config file, but warn if one if unreadable. I need to have a bit more time to wrap my head arround this code.

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.

Can IPython print a warning if unable to open ipython_config.py?

2 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy