/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

blog.hakril.net
| | madebyme.today
3.8 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?
| | tenthousandmeters.com
4.0 parsecs away

Travel
| | Consider a simple assignment statement in Python: a = b The meaning of this statement may seem trivial. What we do here is take the value of the...
| | pymotw.com
3.5 parsecs away

Travel
| | [AI summary] This technical guide explains how Python's dis module works to disassemble Python bytecode for purposes such as debugging errors and optimizing code performance through detailed stack analysis.
| | pythonspeed.com
22.6 parsecs away

Travel
| Python's Global Interpreter Lock (GIL) stops threads from running in parallel or concurrently. Learn how to determine impact of the GIL on your code.