About dropping Python 2.7 support in psutil, 3 years ago I stated (#2014): Not a chance, for many years to come. [Python 2.7] currently represents 7-10% of total downloads, meaning around 70k / 100k downloads per day. Only 3 years later, and to...
Blog posts tagged "compatibility"
psutil 5.6.0 is out. Highlights: a new Process.parents() method, several important Windows improvements, and the removal of Process.memory_maps() on macOS. Process.parents() The new method returns the parents of a process as a list of Process...
This is part of the psutil 5.6.0 release (see the full release notes). As of 5.6.0, Process.memory_maps() is no longer defined on macOS. The bug #1291: on macOS, Process.memory_maps() would either raise OSError: [Errno 22] Invalid argument or...
This one took a while. Adding proper Unicode support to psutil took four months of auditing, design decisions, and rewriting nearly every API that returned a string. The full journey is documented in #1040, and what follows is a summary. This can...
psutil 4.0.0 is out, with some interesting news about process memory metrics. I'll get straight to the point and describe what's new. "Real" process memory info Determining how much memory a process really uses is not an easy matter (see this and...
Here we are. It's been a long time since my last blog post and my last psutil release. The reason? I've been travelling! I mean... a lot. I've spent 3 months in Berlin, 3 weeks in Japan and 2 months in New York City. While I was there I finally …
This is part of the psutil 3.0 release (see the full release notes). Except on Linux and Windows (which does not have them), support for zombie processes was broken. The full story is in #428. The problem Say you create a zombie process and...
psutil 2.0 is out. This is a major rewrite and reorganization of both the Python and C extension modules. It costed me four months of work and more than 22,000 lines (the diff against old 1.2.1). Many of the changes are not backward compatible; I'm sure …
This blog post is going to be about psutil 2.0, a major release in which I decided to reorganize the existing API for the sake of consistency. At the time of writing, psutil 2.0 is still under development, and the intent of this blog post is to serve …
One of the initial features which were included in psutil since day one (5 years ago) were the system's boot time, number of CPUs and total physical memory. These metrics have one thing in common: they are (apparently) not supposed to change over...