pci:v00008086d00001237sv00001AF4sd00001100bc06sc00i00 ?÷*Bug tracker at https://github.com/giampaolo/psutil/issues* 5.8.0 ===== 2020-12-19 **Enhancements** - 1863_: `disk_partitions()` exposes 2 extra fields: `maxfile` and `maxpath`, which are the maximum file name and path name length. - 1872_: [Windows] added support for PyPy 2.7. - 1879_: provide pre-compiled wheels for Linux and macOS (yey!). - 1880_: get rid of Travis and Cirrus CI services (they are no longer free). CI testing is now done by GitHub Actions on Linux, macOS and FreeBSD (yes). AppVeyor is still being used for Windows CI. **Bug fixes** - 1708_: [Linux] get rid of sensors_temperatures() duplicates. (patch by Tim Schlueter). - 1839_: [Windows] always raise AccessDenied when failing to query 64 processes from 32 bit ones (NtWoW64 APIs). - 1866_: [Windows] process exe(), cmdline(), environ() may raise "invalid access to memory location" on Python 3.9. - 1874_: [Solaris] wrong swap output given when encrypted column is present. - 1875_: [Windows] process username() may raise ERROR_NONE_MAPPED if the SID has no corresponding account name. In this case AccessDenied is now raised. - 1877_: [Windows] OpenProcess may fail with ERROR_SUCCESS. Turn it into AccessDenied or NoSuchProcess depending on whether the PID is alive. - 1886_: [macOS] EIO error may be raised on cmdline() and environment(). Now it gets translated into AccessDenied. - 1891_: [macOS] get rid of deprecated getpagesize(). 5.7.3 ===== 2020-10-23 **Enhancements** - 809_: [FreeBSD] add support for `Process.rlimit()`. - 893_: [BSD] add support for `Process.environ()` (patch by Armin Gruner) - 1830_: [UNIX] `net_if_stats()`'s `isup` also checks whether the NIC is running (meaning Wi-Fi or ethernet cable is connected). (patch by Chris Burger) - 1837_: [Linux] improved battery detection and charge "secsleft" calculation (patch by aristocratos) **Bug fixes** - 1620_: [Linux] physical cpu_count() result is incorrect on systems with more than one CPU socket. (patch by Vincent A. Arcila) - 1738_: [macOS] Process.exe() may raise FileNotFoundError if process is still alive but the exe file which launched it got deleted. - 1791_: [macOS] fix missing include for getpagesize(). - 1823_: [Windows] Process.open_files() may cause a segfault due to a NULL pointer. - 1838_: [Linux] sensors_battery(): if `percent` can be determined but not the remaining values, still return a result instead of None. (patch by aristocratos) 5.7.2 ===== 2020-07-15 **Bug fixes** - wheels for 2.7 were inadvertently deleted. 5.7.1 ===== 2020-07-15 **Enhancements** - 1729_: parallel tests on UNIX (make test-parallel). They're twice as fast! - 1741_: "make build/install" is now run in parallel and it's about 15% faster on UNIX. - 1747_: `Process.wait()` on POSIX returns an enum, showing the negative signal which was used to terminate the process:: >>> import psutil >>> p = psutil.Process(9891) >>> p.terminate() >>> p.wait() - 1747_: `Process.wait()` return value is cached so that the exit code can be retrieved on then next call. - 1747_: Process provides more info about the process on str() and repr() (status and exit code):: >>> proc psutil.Process(pid=12739, name='python3', status='terminated', exitcode=, started='15:08:20') - 1757_: memory leak tests are now stable. - 1768_: [Windows] added support for Windows Nano Server. (contributed by Julien Lebot) **Bug fixes** - 1726_: [Linux] cpu_freq() parsing should use spaces instead of tabs on ia64. (patch by Michał Górny) - 1760_: [Linux] Process.rlimit() does not handle long long type properly. - 1766_: [macOS] NoSuchProcess may be raised instead of ZombieProcess. - 1781_: fix signature of callback function for getloadavg(). (patch by Ammar Askar) 5.7.0 ===== 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 additio