Path to this page:
Subject: CVS commit: pkgsrc/devel/py-anyio
From: Adam Ciarcinski
Date: 2024-12-06 09:07:13
Message id: 20241206080713.35781FC1C@cvs.NetBSD.org
Log Message:
py-anyio: updated to 4.7.0
4.7.0
- Updated ``TaskGroup`` to work with asyncio's eager task factories
- Added the ``wait_readable()`` and ``wait_writable()`` functions which will accept
an object with a ``.fileno()`` method or an integer handle, and deprecated
their now obsolete versions (``wait_socket_readable()`` and
``wait_socket_writable()``)
- Changed ``EventAdapter`` (an ``Event`` with no bound async backend) to allow \
``set()``
to work even before an async backend is bound to it
- Added support for ``wait_readable()`` and ``wait_writable()`` on \
``ProactorEventLoop``
(used on asyncio + Windows by default)
- Fixed a misleading ``ValueError`` in the context of DNS failures
- Fixed the return type annotations of ``readinto()`` and ``readinto1()`` \
methods in the
``anyio.AsyncFile`` class
- Fixed ``TaskInfo.has_pending_cancellation()`` on asyncio returning false \
positives in
cleanup code on Python >= 3.11
- Fixed cancelled cancel scopes on asyncio calling ``asyncio.Task.uncancel`` when
propagating a ``CancelledError`` on exit to a cancelled parent scope
Files: