JSON schemas can get confusing if you have to deal with complex data. We’ll look into how to use references to clean up your schemas. (more…)
Read more »
Next time you're in your IPython console and you get an error somewhere deep in your stack, run %debug. It's a post-mortem debugger, and it'll drop you in an interpreter right where the error happened. You can inspect all the variables, go up and down the... (more…)
Read more »
A library to assist writing memory-unsafe code in "pure" python, without any imports (i.e. no ctypes etc.) - DavidBuchanan314/unsafe-python... (more…)
Read more »
This week I was debugging a misbehaving Python program that makes
significant use of Python’s asyncio. The program would
eventually take very long periods of time to respond to network
requests. My first suspicion was a CPU-heavy coroutine hogging the
thr... (more…)
Read more »
Exploring Python through counter-intuitive snippets. If you think you know Python, think once more! - satwikkansal/wtfpython... (more…)
Read more »