Today we are pleased to announce the open-sourcing of Python Fire . Python Fire generates command line interfaces (CLIs) from any Python cod... (more…)
Read more »
Python's new feature release – version 3.8 – has landed, the first since June 2018. (more…)
Read more »
Unlike languages like C, much of the time Python will free up memory for you. But sometimes, it won’t work the way you expect it to. Consider the following Python program—how much memory do you think it will use at peak? import numpy as np def load_1GB_of... (more…)
Read more »
I haven't written here in 8 months. Part of the reason for that is that I've swapped jobs. At the old place, I spent about 90% of my time writing C++, and about 10% of the time using other languages, including Python, Perl, web languages, and last, and ... (more…)
Read more »
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 »