The problemLet's say you have more than one version of Python installed on your machine. What version does python3 point to? If you said, "the newest version", you may actually be wrong. That's because python3 points at the last version of Python you inst... (more…)
Read more »
I have long noted issues with Python 3’s bytes/str separation, which is designed to have a type “bytes” that is a simple list of 8-bit characters, and “str” which is a… (more…)
Read more »
I’ve been using Python with numeric/numarray/numpy and SWIG since the spring of 2002 for data analysis. The first application I used it for is the OOF holography software. The transition to Python was from tcl with hand-written bindings to C/C++ code. (more…)
Read more »
As a follow up to Python Mocking 101: Fake It Before You Make It, this post covers some higher-level software engineering principles demonstrated in our Python testing over the past year and half. In particular, the idea of patching mock objects in unit t... (more…)
Read more »