]> granicus.if.org Git - python/commit
bpo-38066: Hide internal Stream methods (GH-15762)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 10 Sep 2019 13:44:32 +0000 (06:44 -0700)
committerGitHub <noreply@github.com>
Tue, 10 Sep 2019 13:44:32 +0000 (06:44 -0700)
commitf12ff05bc07ac087743a4615c4af5f66b73f8d2c
tree8e65db969bb55c6f493ca5bc65d52c6db8a6dcac
parent5cf8155bbd2c65572295b26e96c221763b3322f0
bpo-38066: Hide internal Stream methods (GH-15762)

feed_eof(), feed_data(), set_exception(), and set_transport() are prefixed with underscore now.

https://bugs.python.org/issue38066
(cherry picked from commit 12c122ae958a55c9874ed4c7d7805ceb084411d7)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Lib/asyncio/streams.py
Lib/asyncio/subprocess.py
Lib/test/test_asyncio/test_pep492.py
Lib/test/test_asyncio/test_streams.py
Misc/NEWS.d/next/Library/2019-09-09-14-39-47.bpo-38066.l9mWv-.rst [new file with mode: 0644]