Skip to content

make deprecated shell_streams writable#638

Merged
blink1073 merged 2 commits into
ipython:masterfrom
minrk:smoother-deprecations
Apr 14, 2021
Merged

make deprecated shell_streams writable#638
blink1073 merged 2 commits into
ipython:masterfrom
minrk:smoother-deprecations

Conversation

@minrk

@minrk minrk commented Apr 14, 2021

Copy link
Copy Markdown
Member

shell_streams is deprecated, but keep it working with deprecation warnings instead of breaking it

and handle debugpy_stream being undefined, since allow_none is True

This is part of avoiding breakage in ipyparallel to smooth the transition.

shell_streams is deprecated, but keep it working with deprecation warnings instead of breaking it

and handle debugpy_stream being undefined, since allow_none is True
@SylvainCorlay

Copy link
Copy Markdown
Member

LGTM!

and start handling them in `.start()` instead of `__init__`
@minrk

minrk commented Apr 14, 2021

Copy link
Copy Markdown
Member Author

Added one more handling of optional new functionality: when control_thread is undefined, control messages would never be handled. This starts handling control messages, on whichever loop they are defined.

@SylvainCorlay

Copy link
Copy Markdown
Member

Added one more handling of optional new functionality: when control_thread is undefined, control messages would never be handled. This starts handling control messages, on whichever loop they are defined.

I like that the add_callback is now called in the start function.

@blink1073 blink1073 added this to the 6.0 milestone Apr 14, 2021

@blink1073 blink1073 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@blink1073 blink1073 merged commit 3fb05c6 into ipython:master Apr 14, 2021
@minrk minrk deleted the smoother-deprecations branch April 14, 2021 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants