Tall, Snarky Canadian
  • GitHub
  • CV

Unravelling data structure displays

7 days ago 4 min read syntactic sugarPython
The title of this next post in my series on Python's syntactic sugar may seem odd: what's a "display" when it comes to data structures? It turns out that's the technical term for
Read Now Read Later
Brett Cannon
By: Brett Cannon

Unravelling comprehensions

13 days ago 1 min read syntactic sugarPython
After failing to unravel generator expressions, in this post as part as my Python syntactic sugar post series I want to tackle comprehensions. Thanks to a change made in Python 3.0, recreating
Read Now Read Later
Brett Cannon
By: Brett Cannon

(Not) unravelling generator expressions

14 days ago 6 min read syntactic sugarPython
In this post on Python's syntactic sugar, I want to try to tackle generator expressions. If you look at the language definition for generator expressions you will see that it says, "[a] generator
Read Now Read Later
Brett Cannon
By: Brett Cannon

Unravelling the `async with` statement

17 days ago 1 min read syntactic sugarPython
I already covered unravelling the with statement, and async with is not much different. Much like with, the language reference for async with gives an example of the statement already destructured. Based on
Read Now Read Later
Brett Cannon
By: Brett Cannon

Unravelling `async for` loops

22 days ago 3 min read syntactic sugarPython
When I decided the next post in my series on Python's syntactic sugar would be on async for, I figured it would be straightforward. I have already done `for` loops, so I have
Read Now Read Later
Brett Cannon
By: Brett Cannon
Page 1 of 25
Older Posts
Powered by Ghost
Tall, Snarky Canadian