summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* refactor CI scriptsprint-leftoverGiampaolo Rodola2020-02-202-12/+12
|
* merge from masterGiampaolo Rodola2020-02-192-11/+2
|
* merge from upstreamGiampaolo Rodola2020-02-191-0/+9
|\
| * integrate flake8 linter for print()Giampaolo Rodola2020-02-184-8/+14
| |
| * run CI tests on freebsd 11 and 12Giampaolo Rodola2020-02-186-24/+14
| |
* | flake8 print(), git commit hook for rm/mv/added files, cirrus on freebsdGiampaolo Rodola2020-02-1916-171/+227
|/ | | | | | | | | | | 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
* fix KeyErrorrelease-5.7.0Giampaolo Rodola2020-02-181-1/+1
|
* Add C linter script (#1698)Giampaolo Rodola2020-02-1822-29/+128
|
* revert process_iter() exactly how it was pre #1667Giampaolo Rodola2020-02-182-5/+5
|
* revert #1667 process_iter() new_only paramGiampaolo Rodola2020-02-184-34/+2
| | | | | | | | | | 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.
* fix Makefile for freebsdGiampaolo Rodola2020-02-181-9/+7
|
* Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2020-02-171-9/+0
|\
| * Remove use of deprecated setuptools test_suite & tests_require (#1696)Jon Dufresne2020-02-171-9/+0
| | | | | | | | | | Since setuptools v41.5.0 (27 Oct 2019), the 'test' command is formally deprecated and should not be used. Test are still easy to run through tox -- as before.
* | #1053 fix syntax incompatible with py2.6Giampaolo Rodola2020-02-161-2/+1
| |
* | remove deprecation test: it fails intermittently because warnings uses a ↵Giampaolo Rodola2020-02-161-17/+0
|/ | | | global state
* get rid of pip_install() code for py2; move everything in runner.pyGiampaolo Rodola2020-02-158-91/+24
|
* point all shebangs to python 3Giampaolo Rodola2020-02-1551-52/+52
|
* refactor print colors utilsGiampaolo Rodola2020-02-1510-208/+133
|
* update docGiampaolo Rodola2020-02-151-0/+3
|
* update history for #1695Giampaolo Rodola2020-02-152-0/+6
|
* Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2020-02-153-13/+9
|\
| * Fix a compile error in _psutil_linux.c if PSUTIL_HAVE_IOPRIO is false (#1695)Anselm Kruis2020-02-151-1/+1
| | | | | | The macro PSUTIL_HAVE_IOPRIO is always defined.
| * #1693: also increase precision of users()'s login timeGiampaolo Rodola2020-02-132-12/+8
| |
* | update docGiampaolo Rodola2020-02-152-5/+6
| |
* | update docGiampaolo Rodola2020-02-156-15/+15
| |
* | update docGiampaolo Rodola2020-02-151-27/+18
|/
* divide test_system.py unit tests in multiple classesGiampaolo Rodola2020-02-141-183/+200
|
* fix testsGiampaolo Rodola2020-02-132-2/+6
|
* #1659: provide error message in case of bugged PYPY2 versionGiampaolo Rodola2020-02-143-5/+13
|
* small refactoringGiampaolo Rodola2020-02-141-6/+7
|
* #1681, revert 00a3398Giampaolo Rodola2020-02-134-47/+0
|
* Merge branch 'win-cpu-times-refact' of github.com:giampaolo/psutil into ↵win-cpu-times-refactGiampaolo Rodola2020-02-130-0/+0
|\ | | | | | | win-cpu-times-refact
| * remove cache for proc_times(): unnecessary because create_time() is already ↵Giampaolo Rodola2020-02-131-9/+4
| | | | | | | | cached
| * rename varGiampaolo Rodola2020-02-131-1/+1
| |
| * bind cpu_times() and create_time() with oneshot()Giampaolo Rodola2020-02-131-2/+9
| |
| * remove unnecessary wrap_exceptions decoGiampaolo Rodola2020-02-131-1/+0
| |
| * rename methodGiampaolo Rodola2020-02-131-10/+10
| |
| * refactoring: get rid of duplicated code; use one function to return (user, ↵Giampaolo Rodola2020-02-132-47/+8
| | | | | | | | sys, create time)
* | refactoring: get rid of duplicated code; use one function to return (user, ↵Giampaolo Rodola2020-02-132-58/+20
|/ | | | | | | | | | | | | | sys, create time) rename method remove unnecessary wrap_exceptions deco bind cpu_times() and create_time() with oneshot() rename var remove cache for proc_times(): unnecessary because create_time() is already cached
* [Windows] increase precision of boot_time() and proc create_time() (#1693)Giampaolo Rodola2020-02-135-64/+60
|
* #1672: warning pre-processor directive don't work on win + py2; also if ↵Giampaolo Rodola2020-02-132-8/+5
| | | | struct.calcsize('l') < 8 assume int
* small refactoring to accomodate #1691Giampaolo Rodola2020-02-131-5/+6
|
* fix #1688: use python3 in GIT commit hook hashbangGiampaolo Rodola2020-02-131-1/+1
|
* #1672: determine pid_t size at runtime in setup.pyGiampaolo Rodola2020-02-123-3/+17
|
* refactoringGiampaolo Rodola2020-02-122-44/+52
|
* merge from masterGiampaolo Rodola2020-02-1221-225/+218
|\
| * fix pypy on LinuxGiampaolo Rodola2020-02-123-46/+42
| |
| * refactor docGiampaolo Rodola2020-02-127-173/+75
| |
| * Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2020-02-1114-41/+141
| |\
| | * Add support for PyPy on Windows (#1686)Giampaolo Rodola2020-02-1115-44/+144
| | |