diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2019-02-28 23:49:29 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2019-02-28 23:49:29 +0100 |
commit | 4a283d62b687b849b89991a03a4099c53fd9f125 (patch) | |
tree | 217494b8101a448559c21c888b3200a78040e915 /psutil/_psosx.py | |
parent | 59e3c5e2aa889d443f5f0e44beb52f654fc6e23e (diff) | |
download | psutil-4a283d62b687b849b89991a03a4099c53fd9f125.tar.gz |
#1291: (BACKWARD-INCOMPATIBLE) remove memory_maps() on OSX
Diffstat (limited to 'psutil/_psosx.py')
-rw-r--r-- | psutil/_psosx.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/psutil/_psosx.py b/psutil/_psosx.py index 78f710aa..20c05612 100644 --- a/psutil/_psosx.py +++ b/psutil/_psosx.py @@ -8,7 +8,6 @@ import contextlib import errno import functools import os -import warnings from socket import AF_INET from collections import namedtuple @@ -575,8 +574,3 @@ class Process(object): ntuple = _common.pthread(thread_id, utime, stime) retlist.append(ntuple) return retlist - - def memory_maps(self): - msg = "memory_maps() on OSX is deprecated and will be removed in 6.0.0" - warnings.warn(msg, category=DeprecationWarning, stacklevel=2) - raise AccessDenied(self.pid, msg=msg) |