diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2022-01-15 15:02:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-15 15:02:21 +0100 |
commit | 55161bd4850986359a029f1c9a81bcf66f37afa8 (patch) | |
tree | 344e593bf9b77f9c72dd2a0749f22f53ab94a019 /HISTORY.rst | |
parent | 83b1a846f4bf0b6c95be9950d01456d13401c92f (diff) | |
download | psutil-55161bd4850986359a029f1c9a81bcf66f37afa8.tar.gz |
[Linux]: increase `read(2)` buffer size when reading /proc files lines (#2054)
This should help having more consistent results.
Diffstat (limited to 'HISTORY.rst')
-rw-r--r-- | HISTORY.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/HISTORY.rst b/HISTORY.rst index b1af0199..b19c7142 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -5,12 +5,20 @@ XXXX-XX-XX +**Enhancements** + +- 2050_, [Linux]: increase ``read(2)`` buffer size from 1k to 32k when reading + ``/proc`` pseudo files line by line. This should help having more consistent + results. + **Bug fixes** - 2048_: ``AttributeError`` is raised if ``psutil.Error`` class is raised manually and passed through ``str``. - 2049_, [Linux]: `cpu_freq`_ erroneously returns ``curr`` value in GHz while ``min`` and ``max`` are in MHz. +- 2050_, [Linux]: `virtual_memory()`_ may raise ``ValueError`` if running in a + LCX container. 5.9.0 ===== |