bpo-38066: Hide internal Stream methods#15762
Conversation
|
@asvetlov Andrew, can we also remove the |
Sorry, something went wrong.
|
I think we can but it makes subprocess API a little less backward compatible. |
Sorry, something went wrong.
|
But |
Sorry, something went wrong.
|
|
Sorry, something went wrong.
|
Ah, right! Then your approach with deprecating them gracefully works. Don't forget to also update the docs. |
Sorry, something went wrong.
|
Legacy methods are restored with emitting deprecation warnings. |
Sorry, something went wrong.
|
Great! |
Sorry, something went wrong.
|
Thanks @asvetlov for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8. |
Sorry, something went wrong.
feed_eof(), feed_data(), set_exception(), and set_transport() are prefixed with underscore now. https://bugs.python.org/issue38066 (cherry picked from commit 12c122a) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
feed_eof(), feed_data(), set_exception(), and set_transport() are prefixed with underscore now. https://bugs.python.org/issue38066 (cherry picked from commit 12c122a) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
feed_eof(), feed_data(), set_exception(), and set_transport() are prefixed with underscore now. https://bugs.python.org/issue38066
feed_eof(), feed_data(), set_exception(), and set_transport() are prefixed with underscore now.
https://bugs.python.org/issue38066
Automerge-Triggered-By: @asvetlov