15
0
forked from pool/python-trio

- Update to 0.22.2:

* Fix PermissionError when importing trio due to trying to
    access pthread.
  * Breaking change: Timeout functions now raise ValueError if
    passed math.nan. This includes trio.sleep, trio.sleep_until,
    trio.move_on_at, trio.move_on_after, trio.fail_at and
    trio.fail_after.
  * Added support for naming threads created with
    trio.to_thread.run_sync, requires pthreads so is only
    available on POSIX platforms with glibc installed.
  * trio.socket.socket now prints the address it tried to connect
    to upon failure.
  * Fixed a crash that can occur when running Trio within an
    embedded Python interpreter, by handling the TypeError that
    is raised when trying to (re-)install a C signal handler.
  * Fix sniffio.current_async_library() when Trio tasks are
    spawned from a non-Trio context (such as when using
    trio-asyncio). Previously, a regular Trio task would inherit
    the non-Trio library name, and spawning a system task would
    cause the non-Trio caller to start thinking it was Trio.
  * Documented that Nursery.start_soon does not guarantee task
    ordering.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-trio?expand=0&rev=38
This commit is contained in:
2023-10-31 16:23:38 +00:00
committed by Git OBS Bridge
parent e009f3f472
commit bb2664b9f8
5 changed files with 61 additions and 18 deletions
+26
View File
@@ -1,3 +1,29 @@
-------------------------------------------------------------------
Tue Oct 31 15:56:49 UTC 2023 - Matej Cepl <mcepl@cepl.eu>
- Update to 0.22.2:
* Fix PermissionError when importing trio due to trying to
access pthread.
* Breaking change: Timeout functions now raise ValueError if
passed math.nan. This includes trio.sleep, trio.sleep_until,
trio.move_on_at, trio.move_on_after, trio.fail_at and
trio.fail_after.
* Added support for naming threads created with
trio.to_thread.run_sync, requires pthreads so is only
available on POSIX platforms with glibc installed.
* trio.socket.socket now prints the address it tried to connect
to upon failure.
* Fixed a crash that can occur when running Trio within an
embedded Python interpreter, by handling the TypeError that
is raised when trying to (re-)install a C signal handler.
* Fix sniffio.current_async_library() when Trio tasks are
spawned from a non-Trio context (such as when using
trio-asyncio). Previously, a regular Trio task would inherit
the non-Trio library name, and spawning a system task would
cause the non-Trio caller to start thinking it was Trio.
* Documented that Nursery.start_soon does not guarantee task
ordering.
-------------------------------------------------------------------
Tue Sep 19 14:51:16 UTC 2023 - Dirk Müller <dmueller@suse.com>