python·Pythonbycm0002 Python's asyncio: A Hands-On Walkthroughhttps://realpython.com/async-io-python/Open linkView original on lemmy.world15Comments6Reply
llogging_strict programming.dev4Hide 4 repliesthank you for the history lesson trio and anyio fixes that One phrase not found in the article, colored functions2Reply
kkebab replyendlesstalk.org3Hide 3 repliesI admit that I haven’t read the whole article but could you please clarify what kind of issue is described? Also, what do you mean by colored functions? The term seems ambiguous1Reply
ssociablefish replyprogramming.devI think he means this https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/1Reply
llogging_strict replyprogramming.dev1Hide 1 replyThe term is used by the trio package author. You are in for a treat! Go read the docs for trio right now! Then anyio. Take what the trio author has to say very very seriously. The term colored function means, in order to support concurrency, needing to modify a function with special language syntax, in this case, async.1Reply
fixmycode feddit.clI've been using asyncio for a few years now and this article had stuff I haven't even thought about, very useful!1Reply
6 replies
thank you for the history lesson
trio and anyio fixes that
One phrase not found in the article, colored functions
I admit that I haven’t read the whole article but could you please clarify what kind of issue is described?
Also, what do you mean by colored functions? The term seems ambiguous
I think he means this https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/
The term is used by the trio package author. You are in for a treat! Go read the docs for trio right now! Then anyio.
Take what the trio author has to say very very seriously.
The term
colored functionmeans, in order to support concurrency, needing to modify a function with special language syntax, in this case,async.Awesome, thank you for your insights!
I've been using asyncio for a few years now and this article had stuff I haven't even thought about, very useful!