You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I checked the differences of memory related functions with git diff release-2.2.1 release-3.0.1 and they are basically the same: I can't see why we would get AD on 3.0.1 but not on 2.2.1. If you're sure about that then please provide a test script or more debugging info.
In 2.2.1, I only get
AccessDenied
fromprocess.name()
. After updating to 3.0.1,process.memory_percent()
will also raiseAccessDenied
error.Also, although 3.0.0 should use the second method to get process name on windows, it always raises
AccessDenied
fromself.exe()
.https://github.com/giampaolo/psutil/blob/master/psutil/_pswindows.py#L291-L294
I guess it should change to:
The text was updated successfully, but these errors were encountered: