diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2019-11-26 13:58:48 +0800 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2019-11-26 13:58:48 +0800 |
commit | e15fbda458b061e4442a6a8419c34f3067ce6e27 (patch) | |
tree | ca2037ae8f369803576d668f7a70a706d9f4c01a | |
parent | c6cd256da95ffe9599792759b1c2586ba24fa047 (diff) | |
download | psutil-e15fbda458b061e4442a6a8419c34f3067ce6e27.tar.gz |
fix #1630: can't compile source distribution on Windows
-rw-r--r-- | HISTORY.rst | 10 | ||||
-rw-r--r-- | psutil/__init__.py | 2 | ||||
-rw-r--r-- | psutil/_psutil_windows.c | 2 |
3 files changed, 12 insertions, 2 deletions
diff --git a/HISTORY.rst b/HISTORY.rst index 8d0878d2..c81ed6f4 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,5 +1,15 @@ *Bug tracker at https://github.com/giampaolo/psutil/issues* + +5.6.7 +===== + +2019-11-26 + +**Bug fixes** + +- 1630_: [Windows] can't compile source distribution due to C syntax error. + 5.6.6 ===== diff --git a/psutil/__init__.py b/psutil/__init__.py index 4df2fec0..b267239e 100644 --- a/psutil/__init__.py +++ b/psutil/__init__.py @@ -222,7 +222,7 @@ __all__ = [ __all__.extend(_psplatform.__extra__all__) __author__ = "Giampaolo Rodola'" -__version__ = "5.6.6" +__version__ = "5.6.7" version_info = tuple([int(num) for num in __version__.split('.')]) _timer = getattr(time, 'monotonic', time.time) diff --git a/psutil/_psutil_windows.c b/psutil/_psutil_windows.c index 95991934..f35d0076 100644 --- a/psutil/_psutil_windows.c +++ b/psutil/_psutil_windows.c @@ -269,7 +269,7 @@ psutil_proc_kill(PyObject *self, PyObject *args) { // https://github.com/giampaolo/psutil/issues/1099 if (GetLastError() != ERROR_ACCESS_DENIED) { PyErr_SetFromOSErrnoWithSyscall("TerminateProcess"); - goto error; + return NULL; } } |