Skip to content

Treat directory names as text in display objects - #15413

Open
hao0x1 wants to merge 1 commit into
ipython:mainfrom
hao0x1:codex/fix-display-directory-text
Open

hao0x1 wants to merge 1 commit into
ipython:mainfrom
hao0x1:codex/fix-display-directory-text

Conversation

@hao0x1

@hao0x1 hao0x1 commented Oct 1, 2026

Copy link
Copy Markdown

Markdown('.') tries to open the current directory as a file and raises IsADirectoryError. This keeps directory names as literal display data, while preserving file loading and explicit filename= behavior.

Fixes #14820.

Prepared with Codex assistance. 🤖🤖

This branch has not been deployed

No deployments
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.

Cannot display a single dot character as Markdown

1 participant