psutil v5.7.3 Release Notes

  • 2020-10-23

    โœจ Enhancements

    • ๐Ÿ‘ 809_, [FreeBSD]: add support for Process.rlimit()_.
    • ๐Ÿ‘ 893_, [BSD]: add support for Process.environ()_ (patch by Armin Gruner)
    • 1830_, [POSIX]: net_if_stats()_ 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]: cpu_count()_ with logical=False 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], [critical]: 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)