diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2015-07-09 10:18:46 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2015-07-09 10:18:46 +0200 |
commit | d2a37e772906194b89c639e82ef9372fa3e222ce (patch) | |
tree | 7b618bbdd56eee7e383985a443126487319238af | |
parent | 5ae30c7989e30702b457c2cae69e6b7e4a8b96ed (diff) | |
download | psutil-d2a37e772906194b89c639e82ef9372fa3e222ce.tar.gz |
update HISTORY
-rw-r--r-- | HISTORY.rst | 15 | ||||
-rw-r--r-- | psutil/__init__.py | 2 | ||||
-rw-r--r-- | test/test_psutil.py | 1 |
3 files changed, 12 insertions, 6 deletions
diff --git a/HISTORY.rst b/HISTORY.rst index 18aa047c..fc812bcc 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,5 +1,16 @@ Bug tracker at https://github.com/giampaolo/psutil/issues +3.0.2 - XXXX-XX-XX +================== + +**Bug fixes** + +- #636: [Linux] *connections functions may swallow errors and return an + incomplete list of connnections. +- #637: [UNIX] raise exception if trying to send signal to Process PID 0 as it + will affect os.getpid()'s process group instead of PID 0. + + 3.0.1 - 2015-06-18 ================== @@ -9,10 +20,6 @@ Bug tracker at https://github.com/giampaolo/psutil/issues - #634: [Linux] Proces.cmdline() does not include empty string arguments. - #635: [UNIX] crash on module import if 'enum' package is installed on python < 3.4. -- #636: [Linux] *connections functions may swallow errors and return an - incomplete list of connnections. -- #637: [UNIX] raise exception if trying to send signal to Process PID 0 as it - will affect os.getpid()'s process group instead of PID 0. 3.0.0 - 2015-06-13 diff --git a/psutil/__init__.py b/psutil/__init__.py index 7d47a14f..7a3fb066 100644 --- a/psutil/__init__.py +++ b/psutil/__init__.py @@ -1011,7 +1011,7 @@ class Process(object): # see "man 2 kill" raise ValueError( "preventing sending signal to process with PID 0 as it " - "will affect every process in the process group of the " + "would affect every process in the process group of the " "calling process (os.getpid()) instead of PID 0") try: os.kill(self.pid, sig) diff --git a/test/test_psutil.py b/test/test_psutil.py index 31655b72..91423841 100644 --- a/test/test_psutil.py +++ b/test/test_psutil.py @@ -2250,7 +2250,6 @@ class TestProcess(unittest.TestCase): except psutil.AccessDenied: pass - # username property try: if POSIX: self.assertEqual(p.username(), 'root') |