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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user