cm0002@lemmy.world to Python@programming.dev · 23 days agoPython's asyncio: A Hands-On Walkthroughrealpython.comexternal-linkmessage-square6linkfedilinkarrow-up115arrow-down10
arrow-up115arrow-down1external-linkPython's asyncio: A Hands-On Walkthroughrealpython.comcm0002@lemmy.world to Python@programming.dev · 23 days agomessage-square6linkfedilink
minus-squarekebab@endlesstalk.orglinkfedilinkEnglisharrow-up1·22 days agoI 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
minus-squaresociablefish@programming.devlinkfedilinkEnglisharrow-up1·22 days agoI think he means this https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/
minus-squarelogging_strict@programming.devlinkfedilinkarrow-up1·21 days agoThe 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.
minus-squarekebab@endlesstalk.orglinkfedilinkEnglisharrow-up2·21 days agoAwesome, thank you for your insights!
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 function
means, in order to support concurrency, needing to modify a function with special language syntax, in this case,async
.Awesome, thank you for your insights!