bpo-37105: Add deprecated-remove information on stream doc (#13672) · python/cpython@ed9f356 (original) (raw)

Original file line number Diff line number Diff line change
@@ -67,6 +67,10 @@ and work with streams:
67 67
68 68 The *ssl_handshake_timeout* parameter.
69 69
70 + .. deprecated-removed:: 3.8 3.10
71 +
72 + `open_connection()` is deprecated in favor of `connect()`.
73 +
70 74 .. coroutinefunction:: start_server(client_connected_cb, host=None, \
71 75 port=None, \*, loop=None, limit=None, \
72 76 family=socket.AF_UNSPEC, \
@@ -100,6 +104,10 @@ and work with streams:
100 104
101 105 The *ssl_handshake_timeout* and *start_serving* parameters.
102 106
107 + .. deprecated-removed:: 3.8 3.10
108 +
109 + `start_server()` is deprecated if favor of `StreamServer()`
110 +
103 111
104 112 .. rubric:: Unix Sockets
105 113
@@ -124,6 +132,10 @@ and work with streams:
124 132
125 133 The *path* parameter can now be a :term:`path-like object`
126 134
135 + .. deprecated-removed:: 3.8 3.10
136 +
137 + `open_unix_connection()` is deprecated if favor of `connect_unix()`.
138 +
127 139
128 140 .. coroutinefunction:: start_unix_server(client_connected_cb, path=None, \
129 141 \*, loop=None, limit=None, sock=None, \
@@ -146,6 +158,10 @@ and work with streams:
146 158
147 159 The *path* parameter can now be a :term:`path-like object`.
148 160
161 + .. deprecated-removed:: 3.8 3.10
162 +
163 + `start_unix_server()` is deprecated in favor of `UnixStreamServer()`.
164 +
149 165
150 166 ---------
151 167