Skip to content

Add isatty method to StreamWriter#3307

Open
C-Achard wants to merge 1 commit into
mainfrom
cy/add-is-atty-streamwriter-ipython
Open

Add isatty method to StreamWriter#3307
C-Achard wants to merge 1 commit into
mainfrom
cy/add-is-atty-streamwriter-ipython

Conversation

@C-Achard
Copy link
Copy Markdown
Collaborator

@C-Achard C-Achard commented May 5, 2026

Add an isatty(self) method that returns False on StreamWriter so external libraries treat this stream as non-interactive (avoiding potential issues with IPython 9.13.0).
No functional changes to write/flush behavior; this makes sense to have in general as it is not an interactive terminal.

Closes DeepLabCut/napari-deeplabcut#196.

Add an isatty(self) method that returns False on StreamWriter so external libraries treat this stream as non-interactive (avoiding potential issues with IPython 9.13.0). No functional changes to write/flush behavior; this makes sense to have in general  as it is not an interactive terminal.
@C-Achard C-Achard self-assigned this May 5, 2026
@C-Achard C-Achard added GUI issues relating to GUI napari-dlc Related to napari-deeplabcut (labeling workflow, crop, frame extraction...) labels May 5, 2026
@C-Achard C-Achard requested a review from deruyter92 May 6, 2026 09:00
@C-Achard
Copy link
Copy Markdown
Collaborator Author

C-Achard commented May 7, 2026

Note: fixed again in #3314, alongside another small issue. Recommend merging that other PR rather than this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GUI issues relating to GUI napari-dlc Related to napari-deeplabcut (labeling workflow, crop, frame extraction...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refined labels don't save

2 participants