psutil v5.6.4 Release Notes

Release Date: 2019-11-04 // over 4 years ago
  • 2019-11-04

    Enhancements

    • 🐧 1527_, [Linux]: added Process.cpu_times()_ iowait counter, which is the time spent waiting for blocking I/O to complete.
    • 🏗 1565_: add PEP 517/8 build backend and requirements specification for better pip integration. (patch by Bernát Gábor)

    🐛 Bug fixes

    • 🏁 875_, [Windows], [critical]: Process.cmdline(), Process.environ() or Process.cwd()_ may occasionally fail with ERROR_PARTIAL_COPY which now gets translated to AccessDenied_.
    • 🐧 1126_, [Linux], [critical]: Process.cpu_affinity()_ segfaults on CentOS 5 / manylinux. Process.cpu_affinity()_ support for CentOS 5 was removed.
    • 1528_, [AIX], [critical]: compilation error on AIX 7.2 due to 32 vs 64 bit differences. (patch by Arnon Yaari)
    • 1535_: type and family fields returned by net_connections()_ are not always turned into enums.
    • 1536_, [NetBSD]: Process.cmdline()_ erroneously raise ZombieProcess_ error if cmdline has non encodable chars.
    • 1546_: usage percent may be rounded to 0 on Python 2.
    • 🏁 1552_, [Windows]: getloadavg()_ math for calculating 5 and 15 mins values is incorrect.
    • 🐧 1568_, [Linux]: use CC compiler env var if defined.
    • 🏁 1570_, [Windows]: NtWow64* syscalls fail to raise the proper error code
    • 1585_, [OSX]: avoid calling close() (in C) on possible negative integers. (patch by Athos Ribeiro)
    • 1606_, [SunOS], [critical]: compilation fails on SunOS 5.10. (patch by vser1)