Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | try to fix travisproc-iter-fix | Giampaolo Rodola | 2020-02-18 | 1 | -2/+1 |
| | |||||
* | integrate C linter in GIT commit hook | Giampaolo Rodola | 2020-02-18 | 4 | -7/+17 |
| | |||||
* | check space after # | Giampaolo Rodola | 2020-02-18 | 1 | -1/+3 |
| | |||||
* | check missing space between keyword and parenthesis | Giampaolo Rodola | 2020-02-18 | 2 | -4/+11 |
| | |||||
* | fix no new line at EOF | Giampaolo Rodola | 2020-02-18 | 10 | -17/+24 |
| | |||||
* | rename make target from flake8 to lint | Giampaolo Rodola | 2020-02-18 | 6 | -5/+7 |
| | |||||
* | add a basic C linter | Giampaolo Rodola | 2020-02-18 | 3 | -0/+68 |
| | |||||
* | force appveyor run | Giampaolo Rodola | 2020-02-18 | 1 | -1/+1 |
| | |||||
* | setup.py: PYPI complain about deprecated arg | Giampaolo Rodola | 2020-02-18 | 1 | -1/+0 |
| | |||||
* | pre-release | Giampaolo Rodola | 2020-02-18 | 2 | -4/+9 |
| | |||||
* | revert process_iter() exactly how it was pre #1667 | Giampaolo Rodola | 2020-02-18 | 2 | -5/+5 |
| | |||||
* | revert #1667 process_iter() new_only param | Giampaolo Rodola | 2020-02-18 | 4 | -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 freebsd | Giampaolo Rodola | 2020-02-18 | 1 | -9/+7 |
| | |||||
* | Merge branch 'master' of github.com:giampaolo/psutil | Giampaolo Rodola | 2020-02-17 | 1 | -9/+0 |
|\ | |||||
| * | Remove use of deprecated setuptools test_suite & tests_require (#1696) | Jon Dufresne | 2020-02-17 | 1 | -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.6 | Giampaolo Rodola | 2020-02-16 | 1 | -2/+1 |
| | | |||||
* | | remove deprecation test: it fails intermittently because warnings uses a ↵ | Giampaolo Rodola | 2020-02-16 | 1 | -17/+0 |
|/ | | | | global state | ||||
* | get rid of pip_install() code for py2; move everything in runner.py | Giampaolo Rodola | 2020-02-15 | 8 | -91/+24 |
| | |||||
* | point all shebangs to python 3 | Giampaolo Rodola | 2020-02-15 | 51 | -52/+52 |
| | |||||
* | refactor print colors utils | Giampaolo Rodola | 2020-02-15 | 10 | -208/+133 |
| | |||||
* | update doc | Giampaolo Rodola | 2020-02-15 | 1 | -0/+3 |
| | |||||
* | update history for #1695 | Giampaolo Rodola | 2020-02-15 | 2 | -0/+6 |
| | |||||
* | Merge branch 'master' of github.com:giampaolo/psutil | Giampaolo Rodola | 2020-02-15 | 3 | -13/+9 |
|\ | |||||
| * | Fix a compile error in _psutil_linux.c if PSUTIL_HAVE_IOPRIO is false (#1695) | Anselm Kruis | 2020-02-15 | 1 | -1/+1 |
| | | | | | | The macro PSUTIL_HAVE_IOPRIO is always defined. | ||||
| * | #1693: also increase precision of users()'s login time | Giampaolo Rodola | 2020-02-13 | 2 | -12/+8 |
| | | |||||
* | | update doc | Giampaolo Rodola | 2020-02-15 | 2 | -5/+6 |
| | | |||||
* | | update doc | Giampaolo Rodola | 2020-02-15 | 6 | -15/+15 |
| | | |||||
* | | update doc | Giampaolo Rodola | 2020-02-15 | 1 | -27/+18 |
|/ | |||||
* | divide test_system.py unit tests in multiple classes | Giampaolo Rodola | 2020-02-14 | 1 | -183/+200 |
| | |||||
* | fix tests | Giampaolo Rodola | 2020-02-13 | 2 | -2/+6 |
| | |||||
* | #1659: provide error message in case of bugged PYPY2 version | Giampaolo Rodola | 2020-02-14 | 3 | -5/+13 |
| | |||||
* | small refactoring | Giampaolo Rodola | 2020-02-14 | 1 | -6/+7 |
| | |||||
* | #1681, revert 00a3398 | Giampaolo Rodola | 2020-02-13 | 4 | -47/+0 |
| | |||||
* | Merge branch 'win-cpu-times-refact' of github.com:giampaolo/psutil into ↵win-cpu-times-refact | Giampaolo Rodola | 2020-02-13 | 0 | -0/+0 |
|\ | | | | | | | win-cpu-times-refact | ||||
| * | remove cache for proc_times(): unnecessary because create_time() is already ↵ | Giampaolo Rodola | 2020-02-13 | 1 | -9/+4 |
| | | | | | | | | cached | ||||
| * | rename var | Giampaolo Rodola | 2020-02-13 | 1 | -1/+1 |
| | | |||||
| * | bind cpu_times() and create_time() with oneshot() | Giampaolo Rodola | 2020-02-13 | 1 | -2/+9 |
| | | |||||
| * | remove unnecessary wrap_exceptions deco | Giampaolo Rodola | 2020-02-13 | 1 | -1/+0 |
| | | |||||
| * | rename method | Giampaolo Rodola | 2020-02-13 | 1 | -10/+10 |
| | | |||||
| * | refactoring: get rid of duplicated code; use one function to return (user, ↵ | Giampaolo Rodola | 2020-02-13 | 2 | -47/+8 |
| | | | | | | | | sys, create time) | ||||
* | | refactoring: get rid of duplicated code; use one function to return (user, ↵ | Giampaolo Rodola | 2020-02-13 | 2 | -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 Rodola | 2020-02-13 | 5 | -64/+60 |
| | |||||
* | #1672: warning pre-processor directive don't work on win + py2; also if ↵ | Giampaolo Rodola | 2020-02-13 | 2 | -8/+5 |
| | | | | struct.calcsize('l') < 8 assume int | ||||
* | small refactoring to accomodate #1691 | Giampaolo Rodola | 2020-02-13 | 1 | -5/+6 |
| | |||||
* | fix #1688: use python3 in GIT commit hook hashbang | Giampaolo Rodola | 2020-02-13 | 1 | -1/+1 |
| | |||||
* | #1672: determine pid_t size at runtime in setup.py | Giampaolo Rodola | 2020-02-12 | 3 | -3/+17 |
| | |||||
* | refactoring | Giampaolo Rodola | 2020-02-12 | 2 | -44/+52 |
| | |||||
* | merge from master | Giampaolo Rodola | 2020-02-12 | 21 | -225/+218 |
|\ | |||||
| * | fix pypy on Linux | Giampaolo Rodola | 2020-02-12 | 3 | -46/+42 |
| | | |||||
| * | refactor doc | Giampaolo Rodola | 2020-02-12 | 7 | -173/+75 |
| | |