▲ 10 ▼ Python's asyncio: A Hands-On Walkthrough (realpython.com) submitted 1 year ago by cm0002@lemmy.world to c/python@programming.dev 6 comments fedilink hide all child comments
[–] logging_strict@programming.dev 2 points 1 year ago (4 children) thank you for the history lesson trio and anyio fixes that One phrase not found in the article, colored functions permalink fedilink source hideshow 4 child comments replies: [–] kebab@endlesstalk.org 1 point 1 year ago (3 children) 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 permalink fedilink source parent hideshow 3 child comments replies: [–] logging_strict@programming.dev 1 point 1 year ago (1 child) 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. permalink fedilink source parent hideshow 1 child comment replies: [–] kebab@endlesstalk.org 2 points 1 year ago Awesome, thank you for your insights! permalink fedilink source parent [–] sociablefish@programming.dev 1 point 1 year ago I think he means this https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/ permalink fedilink source parent
[–] kebab@endlesstalk.org 1 point 1 year ago (3 children) 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 permalink fedilink source parent hideshow 3 child comments replies: [–] logging_strict@programming.dev 1 point 1 year ago (1 child) 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. permalink fedilink source parent hideshow 1 child comment replies: [–] kebab@endlesstalk.org 2 points 1 year ago Awesome, thank you for your insights! permalink fedilink source parent [–] sociablefish@programming.dev 1 point 1 year ago I think he means this https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/ permalink fedilink source parent
[–] logging_strict@programming.dev 1 point 1 year ago (1 child) 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. permalink fedilink source parent hideshow 1 child comment replies: [–] kebab@endlesstalk.org 2 points 1 year ago Awesome, thank you for your insights! permalink fedilink source parent
[–] kebab@endlesstalk.org 2 points 1 year ago Awesome, thank you for your insights! permalink fedilink source parent
[–] sociablefish@programming.dev 1 point 1 year ago I think he means this https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/ permalink fedilink source parent