8000 Merge branch 3.8 into 3.8-slp · stackless-dev/stackless@7b612c2 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 7b612c2

Browse files
author
Anselm Kruis
committed
Merge branch 3.8 into 3.8-slp
2 parents a998b8a + 2f87a7d commit 7b612c2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+929
-3003
lines changed

Doc/c-api/init_config.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,13 @@ PyConfig
704704
705705
.. c:member:: PyWideStringList warnoptions
706706
707-
Options of the :mod:`warnings` module to build warnings filters.
707+
:data:`sys.warnoptions`: options of the :mod:`warnings` module to build
708+
warnings filters: lowest to highest priority.
709+
710+
The :mod:`warnings` module adds :data:`sys.warnoptions` in the reverse
711+
order: the last :c:member:`PyConfig.warnoptions` item becomes the first
712+
item of :data:`warnings.filters` which is checked first (highest
713+
priority).
708714
709715
.. c:member:: int write_bytecode
710716

Doc/library/asyncio-api-index.rst

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -132,47 +132,23 @@ High-level APIs to work with network IO.
132132
:widths: 50 50
133133
:class: full-width-table
134134

135-
* - ``await`` :func:`connect`
136-
- Establish a TCP connection to send and receive data.
137-
138135
* - ``await`` :func:`open_connection`
139-
- Establish a TCP connection. (Deprecated in favor of :func:`connect`)
140-
141-
* - ``await`` :func:`connect_unix`
142-
- Establish a Unix socket connection to send and receive data.
136+
- Establish a TCP connection.
143137

144138
* - ``await`` :func:`open_unix_connection`
145-
- Establish a Unix socket connection. (Deprecated in favor of :func:`connect_unix`)
146-
147-
* - :class:`StreamServer`
148-
- Start a TCP server.
139+
- Establish a Unix socket connection.
149140

150141
* - ``await`` :func:`start_server`
151-
- Start a TCP server. (Deprecated in favor of :class:`StreamServer`)
152-
153-
* - :class:`UnixStreamServer`
154-
- Start a Unix socket server.
142+
- Start a TCP server.
155143

156144
* - ``await`` :func:`start_unix_server`
157-
- Start a Unix socket server. (Deprecated in favor of :class:`UnixStreamServer`)
158-
159-
* - :func:`connect_read_pipe`
160-
- Establish a connection to :term:`file-like object <file object>` *pipe*
161-
to receive data.
162-
163-
* - :func:`connect_write_pipe`
164-
- Establish a connection to :term:`file-like object <file object>` *pipe*
165-
to send data.
166-
167-
* - :class:`Stream`
168-
- Stream is a single object combining APIs of :class:`StreamReader` and
169-
:class:`StreamWriter`.
145+
- Start a Unix socket server.
170146

171147
* - :class:`StreamReader`
172-
- High-level async/await object to receive network data. (Deprecated in favor of :class:`Stream`)
148+
- High-level async/await object to receive network data.
173149

174150
* - :class:`StreamWriter`
175-
- High-level async/await object to send network data. (Deprecated in favor of :class:`Stream`)
151+
- High-level async/await object to send network data.
176152

177153

178154
.. rubric:: Examples

Doc/library/asyncio-eventloop.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1625,7 +1625,8 @@ Wait until a file descriptor received some data using the
16251625
:meth:`loop.create_connection` method.
16261626

16271627
* Another similar :ref:`example <asyncio_example_create_connection-streams>`
1628-
using the high-level :func:`asyncio.connect` function and streams.
1628+
using the high-level :func:`asyncio.open_connection` function
1629+
and streams.
16291630

16301631

16311632
.. _asyncio_example_unix_signals:

Doc/library/asyncio-protocol.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ data, and waits until the connection is closed::
809809
.. seealso::
810810

811811
The :ref:`TCP echo client using streams <asyncio-tcp-echo-client-streams>`
812-
example uses the high-level :func:`asyncio.connect` function.
812+
example uses the high-level :func:`asyncio.open_connection` function.
813813

814814

815815
.. _asyncio-udp-echo-server-protocol:
@@ -978,7 +978,7 @@ Wait until a socket receives data using the
978978

979979
The :ref:`register an open socket to wait for data using streams
980980
<asyncio_example_create_connection-streams>` example uses high-level streams
981-
created by the :func:`asyncio.connect` function in a coroutine.
981+
created by the :func:`open_connection` function in a coroutine.
982982

983983
.. _asyncio_example_subprocess_proto:
984984

0 commit comments

Comments
 (0)
0