<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/psutil.git, branch print-leftover</title>
<subtitle>github.com: giampaolo/psutil.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/'/>
<entry>
<title>refactor CI scripts</title>
<updated>2020-02-20T15:24:43+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-20T15:24:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/commit/?id=eb5ce8033263aafe37c35a875c5bb57c8f538353'/>
<id>eb5ce8033263aafe37c35a875c5bb57c8f538353</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>merge from master</title>
<updated>2020-02-19T22:02:39+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-19T22:02:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/commit/?id=d77f3003386888cca291233ab940c4db33a1f86b'/>
<id>d77f3003386888cca291233ab940c4db33a1f86b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>merge from upstream</title>
<updated>2020-02-19T21:54:40+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-19T21:54:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/commit/?id=79b8d2a0a47c3c58263a54f3511a47b3db32dc56'/>
<id>79b8d2a0a47c3c58263a54f3511a47b3db32dc56</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>flake8 print(), git commit hook for rm/mv/added files, cirrus on freebsd</title>
<updated>2020-02-19T21:53:06+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-19T21:53:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/commit/?id=aa495a2fc430144ae630a62cfc0e9a4dc57aefd5'/>
<id>aa495a2fc430144ae630a62cfc0e9a4dc57aefd5</id>
<content type='text'>
diff versions

Different things done here:

- GIT hook to generate manifest if committed files were added/renamed/deleted
- run Cirrus tests on different FreeBSD versions
- script to upload release notes on tidelift
- have flake8 warn on print() statements left behind
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
diff versions

Different things done here:

- GIT hook to generate manifest if committed files were added/renamed/deleted
- run Cirrus tests on different FreeBSD versions
- script to upload release notes on tidelift
- have flake8 warn on print() statements left behind
</pre>
</div>
</content>
</entry>
<entry>
<title>integrate flake8 linter for print()</title>
<updated>2020-02-18T22:46:35+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-18T22:46:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/commit/?id=9b8b843c9ae9aa7a07b551e3666f334ff9a1cb3d'/>
<id>9b8b843c9ae9aa7a07b551e3666f334ff9a1cb3d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>run CI tests on freebsd 11 and 12</title>
<updated>2020-02-18T22:11:46+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-18T22:11:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/commit/?id=f76046d0211cf3dfe56721f74d0615cb3801f2aa'/>
<id>f76046d0211cf3dfe56721f74d0615cb3801f2aa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix KeyError</title>
<updated>2020-02-18T18:01:02+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-18T18:01:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/commit/?id=f2e0c98ec0348810afe0e12347991438123c86f1'/>
<id>f2e0c98ec0348810afe0e12347991438123c86f1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add C linter script (#1698)</title>
<updated>2020-02-18T17:44:43+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-18T17:44:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/commit/?id=5e47e0bcba7585909a11e9c7424e864fc26a7fd2'/>
<id>5e47e0bcba7585909a11e9c7424e864fc26a7fd2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>revert process_iter() exactly how it was pre #1667</title>
<updated>2020-02-18T01:39:13+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-18T01:39:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/commit/?id=41fcba5dd7ecbbc788814c722f31e630422ba28e'/>
<id>41fcba5dd7ecbbc788814c722f31e630422ba28e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>revert #1667 process_iter() new_only param</title>
<updated>2020-02-18T00:43:16+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-18T00:43:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/commit/?id=c9fc4fdadc5a19d97916cbf13b1b479834b94bd8'/>
<id>c9fc4fdadc5a19d97916cbf13b1b479834b94bd8</id>
<content type='text'>
On a second thought I realized that process_iter() uses a global
variable, so it's not thread safe.
That means that if the are 2 threads using it, the first thread one calling the function (+ consume the iterator), will "steal" the processes of the second thread.

psutil.cpu_percent() has the same problem. That means we have a problem
can't solve with the current API and requires a lot of thinking on how
to solve it as it's not obvious.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On a second thought I realized that process_iter() uses a global
variable, so it's not thread safe.
That means that if the are 2 threads using it, the first thread one calling the function (+ consume the iterator), will "steal" the processes of the second thread.

psutil.cpu_percent() has the same problem. That means we have a problem
can't solve with the current API and requires a lot of thinking on how
to solve it as it's not obvious.
</pre>
</div>
</content>
</entry>
</feed>
