Overview

Request 879046 accepted

- Update to 2.2.0:
* Added the ``maybe_async()`` and ``maybe_async_cm()`` functions to facilitate forward compatibility with AnyIO 3
* Fixed socket stream bug on asyncio where receiving a half-close from the peer would shut down the entire connection
* Fixed native task names not being set on asyncio on Python 3.8+
* Fixed ``TLSStream.send_eof()`` raising ``ValueError`` instead of the expected ``NotImplementedError``
* Fixed ``open_signal_receiver()`` on asyncio and curio hanging if the cancel scope was cancelled before the function could run
* Fixed Trio test runner causing unwarranted test errors on ``BaseException``s
* Fixed formatted output of ``ExceptionGroup`` containing too many newlines
* Added the ``spawn_task()`` and ``wrap_async_context_manager()`` methods to ``BlockingPortal``
* Added the ``handshake_timeout`` and ``error_handler`` parameters to ``TLSListener``
* Fixed ``Event`` objects on the trio backend not inheriting from ``anyio.abc.Event``
* Fixed ``run_sync_in_worker_thread()`` raising ``UnboundLocalError`` on asyncio when cancelled
* Fixed ``send()`` on socket streams not raising any exception on asyncio, and an unwrapped
* ``BrokenPipeError`` on trio and curio when the peer has disconnected
* Fixed ``MemoryObjectSendStream.send()`` raising ``BrokenResourceError`` when the last receiver is closed right after receiving the item
* Fixed ``ValueError: Invalid file descriptor: -1`` when closing a ``SocketListener`` on asyncio

Loading...
Request History
Steve Kowalik's avatar

StevenK created request

- Update to 2.2.0:
* Added the ``maybe_async()`` and ``maybe_async_cm()`` functions to facilitate forward compatibility with AnyIO 3
* Fixed socket stream bug on asyncio where receiving a half-close from the peer would shut down the entire connection
* Fixed native task names not being set on asyncio on Python 3.8+
* Fixed ``TLSStream.send_eof()`` raising ``ValueError`` instead of the expected ``NotImplementedError``
* Fixed ``open_signal_receiver()`` on asyncio and curio hanging if the cancel scope was cancelled before the function could run
* Fixed Trio test runner causing unwarranted test errors on ``BaseException``s
* Fixed formatted output of ``ExceptionGroup`` containing too many newlines
* Added the ``spawn_task()`` and ``wrap_async_context_manager()`` methods to ``BlockingPortal``
* Added the ``handshake_timeout`` and ``error_handler`` parameters to ``TLSListener``
* Fixed ``Event`` objects on the trio backend not inheriting from ``anyio.abc.Event``
* Fixed ``run_sync_in_worker_thread()`` raising ``UnboundLocalError`` on asyncio when cancelled
* Fixed ``send()`` on socket streams not raising any exception on asyncio, and an unwrapped
* ``BrokenPipeError`` on trio and curio when the peer has disconnected
* Fixed ``MemoryObjectSendStream.send()`` raising ``BrokenResourceError`` when the last receiver is closed right after receiving the item
* Fixed ``ValueError: Invalid file descriptor: -1`` when closing a ``SocketListener`` on asyncio


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar_suse added as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:149"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked "openSUSE:Factory:Staging:adi:149"


Dominique Leuenberger's avatar

dimstar accepted review


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:adi:149 got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:adi:149 got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:adi:149 got accepted.

openSUSE Build Service is sponsored by