Python: Better typed than you think

TLDR: I overview few error handling techniques (with the emphasis on Python, although I mention few other programming languages), some existing Python libraries and suggesting a
simple and clean mypy-based approach.
Read more

Similar

Be Careful with Python’s New-Style String Format

This should have been obvious to me for a longer time, but until earlier today I did not really realize the severity of the issues caused by str.format on untrusted user input. It came up as a way to bypass the Jinja2 Sandbox in a way that would permit r...

Read more »

Creating Python Tooling GUIs

As Python programmers, we write scripts. Many times they are quick and dirty; never meant to be seen by others or even yourself after accomplishing it’s task. However, in some cases the script is… (more…)

Read more »