Explore >> Select a destination


You are here

jakevdp.github.io
| | treyhunner.com
4.5 parsecs away

Travel
| | If you're switching between Python 2 and Python 3, you might think that Python 2's xrange objects are pretty much the identical to Python ...
| | eli.thegreenplace.net
3.3 parsecs away

Travel
| | [AI summary] This article explains how to add a new 'until' statement to Python's compiler by modifying its grammar, AST generation, and bytecode compilation processes.
| | madebyme.today
4.3 parsecs away

Travel
| | Some time ago, during a code review, I had a discussion with a colleague of mine about preferring dict() over {} in new Python code. They argued that dict() is more readable - and expresses intent more clearly - therefore should be preferred. I wasn't convinced by that, but at that time I didn't have any counterarguments, so I passed. Yet that made me wonder: what's the difference between the dict type and {} literal expression?
| | zderadicka.eu
25.9 parsecs away

Travel
|