diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2018-01-01 22:04:16 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2018-01-01 22:04:16 +0100 |
commit | 9806c4801cba4c239425226d9db8c5a7f8beb902 (patch) | |
tree | 3e7feba9e15c9f08ecfdf4d9714d8dd37311d576 /psutil/_pswindows.py | |
parent | c604a55694cc70d54f7abea628d41d99842944cc (diff) | |
parent | a86c6f65c123442802c44d27e45b5e014a62fe3b (diff) | |
download | psutil-1102-proc-bitness.tar.gz |
merge from master1102-proc-bitness
Diffstat (limited to 'psutil/_pswindows.py')
-rw-r--r-- | psutil/_pswindows.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/psutil/_pswindows.py b/psutil/_pswindows.py index 4584fd6e..505846e7 100644 --- a/psutil/_pswindows.py +++ b/psutil/_pswindows.py @@ -26,7 +26,8 @@ except ImportError as err: # but if we get here it means this this was a wheel (or exe). msg = "this Windows version is too old (< Windows Vista); " msg += "psutil 3.4.2 is the latest version which supports Windows " - msg += "2000, XP and 2003 server" + msg += "2000, XP and 2003 server; it may be possible that psutil " + msg += "will work if compiled from sources though" raise RuntimeError(msg) else: raise @@ -45,6 +46,9 @@ from ._compat import lru_cache from ._compat import PY3 from ._compat import unicode from ._compat import xrange +from ._exceptions import AccessDenied +from ._exceptions import NoSuchProcess +from ._exceptions import TimeoutExpired from ._psutil_windows import ABOVE_NORMAL_PRIORITY_CLASS from ._psutil_windows import BELOW_NORMAL_PRIORITY_CLASS from ._psutil_windows import HIGH_PRIORITY_CLASS @@ -139,11 +143,6 @@ pinfo_map = dict( mem_private=21, ) -# these get overwritten on "import psutil" from the __init__.py file -NoSuchProcess = None -AccessDenied = None -TimeoutExpired = None - # ===================================================================== # --- named tuples |