<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 05.07.2021 um 16:29 schrieb Kyle Altendorf <<a href="mailto:sda@fstab.net" class="">sda@fstab.net</a>>:</div><br class="Apple-interchange-newline"><div class=""></div></blockquote><div><br class=""></div><span style="font-family: Menlo-Regular;" class="">I personally prefer to be able to use async/await for everything and not have to deal with threads.</span></div><div><span style="font-family: Menlo-Regular;" class=""><br class=""></span></div><div>Sounds reasonable.<br style="font-family: Menlo-Regular;" class=""><br style="font-family: Menlo-Regular;" class=""><blockquote type="cite" class=""><div class=""><div class="">But, if you do just push all your long running tasks into threads, sure, you can just use blocking versions.  Though, you still give up cancellability as compared with async options.<br class=""></div></div></blockquote><br class=""></div><div>Thanks Kyle for the advice.</div><div>I will first try to fix my current thread+qasyncio approach and then give async-only a chance.</div><div class=""><br class=""></div>Axel<br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">---<br class="">PGP-Key: CDE74120  ☀  computing @ chaos claudius</div></div></div></div></div></div>
</div>
<br class=""></body></html>