cm0002@lemmy.world to Python@programming.dev · 30 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 · 30 days agomessage-square6linkfedilink
minus-squarelogging_strict@programming.devlinkfedilinkarrow-up2arrow-down1·29 days agothank you for the history lesson trio and anyio fixes that One phrase not found in the article, colored functions
minus-squarekebab@endlesstalk.orglinkfedilinkEnglisharrow-up1·29 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·29 days agoI think he means this https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/
minus-squarelogging_strict@programming.devlinkfedilinkarrow-up1·27 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·27 days agoAwesome, thank you for your insights!
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 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!