SHA256
1
0
forked from pool/python-trio
Go to file
Tomáš Chvátal 50f9c7d521 - Update to 0.15.1:
* Added a helpful error message if an async function is passed to
    trio.from_thread.run_sync or a sync function to trio.from_thread.run. (#1244)
  * Previously, when trio.run_process was cancelled, it always killed the subprocess immediately. Now, on Unix, it first gives the process a chance to clean up by sending SIGTERM, and only escalates to SIGKILL if the process is still running after 5 seconds. But if you prefer the old behavior, or want to adjust the timeout, then don't worry: you can now pass a custom deliver_cancel= argument to define your own process killing policy. (#1104)
  * It turns out that creating a subprocess can block the parent process for a surprisingly long time. So trio.open_process now uses a worker thread to avoid blocking the event loop. (#1109)
  * On Linux kernels v5.3 or newer, trio.Process.wait now uses the pidfd API to track child processes. This shouldn't have any user-visible change, but it makes working with subprocesses faster and use less memory. (#1241)
  * The trio.Process.returncode attribute is now automatically updated as needed, instead of only when you call ~trio.Process.poll or ~trio.Process.wait. Also, repr(process_object) now always contains up-to-date information about the process status. (#1315)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-trio?expand=0&rev=12
2020-06-09 07:38:21 +00:00
.gitattributes Accepting request 702384 from home:Simmphonie:python 2019-05-14 20:35:45 +00:00
.gitignore Accepting request 702384 from home:Simmphonie:python 2019-05-14 20:35:45 +00:00
python-trio.changes - Update to 0.15.1: 2020-06-09 07:38:21 +00:00
python-trio.spec - Update to 0.15.1: 2020-06-09 07:38:21 +00:00
trio-0.15.1.tar.gz - Update to 0.15.1: 2020-06-09 07:38:21 +00:00