psutil v5.7.0 Release Notes
Release Date: 2020-02-18 // about 4 years ago-
2020-02-18
โจ Enhancements
- โก๏ธ 1637_, [SunOS]: add partial support for old SunOS 5.10 Update 0 to 3.
- ๐ง 1648_, [Linux]:
sensors_temperatures()
_ looks into an additional/sys/device/
directory for additional data. (patch by Javad Karabi) - ๐ 1652_, [Windows]: dropped support for Windows XP and Windows Server 2003. Minimum supported Windows version now is Windows Vista.
- ๐ท 1671_, [FreeBSD]: add CI testing/service for FreeBSD (Cirrus CI).
- ๐ 1677_, [Windows]:
Process.exe()
_ will succeed for all process PIDs (instead of raisingAccessDenied
_). - ๐ 1679_, [Windows]:
net_connections()
_ andProcess.connections()
_ are 10% faster. - ๐ท 1682_, [PyPy]: added CI / test integration for PyPy via Travis.
- ๐ 1686_, [Windows]: added support for PyPy on Windows.
- ๐ 1693_, [Windows]:
boot_time()
,Process.create_time()
andusers()
_'s login time now have 1 micro second precision (before the precision was of 1 second).
๐ Bug fixes
- 1538_, [NetBSD]:
Process.cwd()
_ may returnENOENT
instead ofNoSuchProcess
_. - ๐ง 1627_, [Linux]:
Process.memory_maps()
_ can raiseKeyError
. - 1642_, [SunOS]: querying basic info for PID 0 results in
FileNotFoundError
. - 1646_, [FreeBSD], [critical]: many
Process
_ methods may cause a segfault due to a backward incompatible change in a C type on FreeBSD 12.0. - ๐ 1656_, [Windows]:
Process.memory_full_info()
_ raisesAccessDenied
_ even for the current user and os.getpid(). - ๐ 1660_, [Windows]:
Process.open_files()
_ complete rewrite + check of errors. - ๐ 1662_, [Windows], [critical]:
Process.exe()
_ may raise "[WinError 0] The operation completed successfully". - ๐ง 1665_, [Linux]:
disk_io_counters()
_ does not take into account extra fields added to recent kernels. (patch by Mike Hommey) - 1672_: use the right C type when dealing with PIDs (int or long). Thus far (long) was almost always assumed, which is wrong on most platforms.
- 1673_, [OpenBSD]:
Process.connections()
,Process.num_fds()
andProcess.threads()
_ returned improper exception if process is gone. - 1674_, [SunOS]:
disk_partitions()
_ may raiseOSError
. - ๐ง 1684_, [Linux]:
disk_io_counters()
_ may raiseValueError
on systems not having/proc/diskstats
. - ๐ง 1695_, [Linux]: could not compile on kernels <= 2.6.13 due to
PSUTIL_HAVE_IOPRIO
not being defined. (patch by Anselm Kruis)