Fun with Python’s sys.getrefcount()

Python has a function called sys.getrefcount() that tells you the reference count of an object. For example, the following code,import sysprint sys.getrefco… Read more

Similar

Launchpad now runs on Python 3

After a very long porting journey, Launchpad is finally running on Python 3 across all of our systems. I wanted to take a bit of time to reflect on why my emotional responses to this port differ so much from those of some others who’ve done large ports, s... (more…)

Read more »

Farewell, Python 2

Long story short: I’m finally starting to drop Python 2 (and a few slightly older Python 3s) from my projects, in a phased manner. Background and details follow. (more…)

Read more »