<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/psutil.git/psutil/tests/test_misc.py, branch virtualization</title>
<subtitle>github.com: giampaolo/psutil.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/'/>
<entry>
<title>[Linux] cat/bcat utils refactoring (#2053)</title>
<updated>2022-01-08T10:49:44+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2022-01-08T10:49:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=46cb6c212a870b36bd0af17c48dd29f53468734b'/>
<id>46cb6c212a870b36bd0af17c48dd29f53468734b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use explicit 'raise self.fail(...)' in unit tests</title>
<updated>2022-01-07T12:29:16+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2022-01-07T12:29:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=93c670e0927d18b8fcd191d278fc0a885a3d8c6c'/>
<id>93c670e0927d18b8fcd191d278fc0a885a3d8c6c</id>
<content type='text'>
Signed-off-by: Giampaolo Rodola &lt;g.rodola@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Giampaolo Rodola &lt;g.rodola@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>move stuff around in test_misc.py</title>
<updated>2022-01-07T12:23:25+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2022-01-07T12:23:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=9883d336a86a06b8eb445c8a333f507c330d9a56'/>
<id>9883d336a86a06b8eb445c8a333f507c330d9a56</id>
<content type='text'>
Signed-off-by: Giampaolo Rodola &lt;g.rodola@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Giampaolo Rodola &lt;g.rodola@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix #2048: str(psutil.Error) raise AttributeError</title>
<updated>2022-01-07T11:55:07+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2022-01-07T11:55:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=24b560186482f02b830fbbbd09f9f09426d84114'/>
<id>24b560186482f02b830fbbbd09f9f09426d84114</id>
<content type='text'>
Signed-off-by: Giampaolo Rodola &lt;g.rodola@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Giampaolo Rodola &lt;g.rodola@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pre-release</title>
<updated>2021-12-29T21:26:13+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2021-12-29T21:26:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=f1a54ad88527e0706fb8a88ad7daae80686acc62'/>
<id>f1a54ad88527e0706fb8a88ad7daae80686acc62</id>
<content type='text'>
Signed-off-by: Giampaolo Rodola &lt;g.rodola@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Giampaolo Rodola &lt;g.rodola@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>assert scripts have +x bit</title>
<updated>2021-12-15T10:46:07+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2021-12-15T10:46:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=ff2f4d4c4986bffbc5348a197396e11bef057346'/>
<id>ff2f4d4c4986bffbc5348a197396e11bef057346</id>
<content type='text'>
Signed-off-by: Giampaolo Rodola &lt;g.rodola@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Giampaolo Rodola &lt;g.rodola@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Automatically sort imports (isort CLI tool) (#2033)</title>
<updated>2021-12-14T22:54:58+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2021-12-14T22:54:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=39dc44bfa5fbb9500166b3480295379602e5bbc5'/>
<id>39dc44bfa5fbb9500166b3480295379602e5bbc5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix CI tests / wheels / workflow (#2024)</title>
<updated>2021-11-29T09:31:58+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2021-11-29T09:31:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=eb2f74c153987b4e0d03aa16931d97e8137d9257'/>
<id>eb2f74c153987b4e0d03aa16931d97e8137d9257</id>
<content type='text'>
Signed-off-by: Giampaolo Rodola &lt;g.rodola@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Giampaolo Rodola &lt;g.rodola@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Changes to debug() function:</title>
<updated>2021-10-14T20:52:32+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2021-10-14T20:52:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=e72438f08ac7aa93b33fddcb11298ece28d0150d'/>
<id>e72438f08ac7aa93b33fddcb11298ece28d0150d</id>
<content type='text'>
* use str() if exception derives from OSError / EnvironmentError. This
way we will print the file name (if it exists).
* use repr() for any other exception
* add tests for debug() function
* backport contextlib.redirect_stderr

Signed-off-by: Giampaolo Rodola &lt;g.rodola@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* use str() if exception derives from OSError / EnvironmentError. This
way we will print the file name (if it exists).
* use repr() for any other exception
* add tests for debug() function
* backport contextlib.redirect_stderr

Signed-off-by: Giampaolo Rodola &lt;g.rodola@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve custom error tracebacks and messages (#1992)</title>
<updated>2021-10-03T13:55:16+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2021-10-03T13:55:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=5d39cc9c8d8dc04862786abba0307ed9350144ce'/>
<id>5d39cc9c8d8dc04862786abba0307ed9350144ce</id>
<content type='text'>
Removal of duplicated `psutil.NoSuchProcess` text. Before:

```
psutil.NoSuchProcess: psutil.NoSuchProcess process no longer exists (pid=4651, name="python")
psutil.ZombieProcess: psutil.ZombieProcess process no longer exists and it's a zombie (pid=4651, name="python")
psutil.AccessDenied: psutil.AccessDenied (pid=4651, name="python")
psutil.TimeoutExpired: psutil.TimeoutExpired timeout after 5 seconds (pid=4651, name="python")
```

Now:

```
psutil.NoSuchProcess: process no longer exists (pid=4651, name="python")
psutil.ZombieProcess: process no longer exists and it's a zombie (pid=4651, name="python")
psutil.AccessDenied: (pid=4651, name="python")
psutil.TimeoutExpired: timeout after 5 seconds (pid=4651, name="python")

```
---

More info if process PID has been reused: Before:

```
psutil.NoSuchProcess: psutil.NoSuchProcess process no longer exists (pid=465148)
```

Now:

```
psutil.NoSuchProcess: process no longer exists and its PID has been reused (pid=465148)
```

---

Before:

```
psutil.NoSuchProcess: psutil.NoSuchProcess no process found with pid 666
```

Now:

```
psutil.NoSuchProcess: process PID not found (pid=666)
```

--- 

Before:

```
&gt;&gt;&gt; psutil.NoSuchProcess(212, name="python")
psutil.NoSuchProcess process no longer exists (pid=212, name='python')
```

Now:

```
&gt;&gt;&gt; psutil.NoSuchProcess(212, name="python")
psutil.NoSuchProcess(pid=212, name='python', msg='process no longer exists')
```</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removal of duplicated `psutil.NoSuchProcess` text. Before:

```
psutil.NoSuchProcess: psutil.NoSuchProcess process no longer exists (pid=4651, name="python")
psutil.ZombieProcess: psutil.ZombieProcess process no longer exists and it's a zombie (pid=4651, name="python")
psutil.AccessDenied: psutil.AccessDenied (pid=4651, name="python")
psutil.TimeoutExpired: psutil.TimeoutExpired timeout after 5 seconds (pid=4651, name="python")
```

Now:

```
psutil.NoSuchProcess: process no longer exists (pid=4651, name="python")
psutil.ZombieProcess: process no longer exists and it's a zombie (pid=4651, name="python")
psutil.AccessDenied: (pid=4651, name="python")
psutil.TimeoutExpired: timeout after 5 seconds (pid=4651, name="python")

```
---

More info if process PID has been reused: Before:

```
psutil.NoSuchProcess: psutil.NoSuchProcess process no longer exists (pid=465148)
```

Now:

```
psutil.NoSuchProcess: process no longer exists and its PID has been reused (pid=465148)
```

---

Before:

```
psutil.NoSuchProcess: psutil.NoSuchProcess no process found with pid 666
```

Now:

```
psutil.NoSuchProcess: process PID not found (pid=666)
```

--- 

Before:

```
&gt;&gt;&gt; psutil.NoSuchProcess(212, name="python")
psutil.NoSuchProcess process no longer exists (pid=212, name='python')
```

Now:

```
&gt;&gt;&gt; psutil.NoSuchProcess(212, name="python")
psutil.NoSuchProcess(pid=212, name='python', msg='process no longer exists')
```</pre>
</div>
</content>
</entry>
</feed>
