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
Looking through the issues, it seems to be a common pitfall that most uses can't rely on a privileged call, but the default behavior is privileged=False (for ping and maybe others).
Consider instead allowing a third state, privileged='auto' or privileged=None in which case it would attempt to detect the setting (e.g. privileged = platform.system() != 'Windows' and not os.getuid()).
The text was updated successfully, but these errors were encountered:
I much prefer None to 2. I'm not a big fan of enumerated values; I prefer to use descriptive strings (aka 'auto'), but if you prefer None, I'd take that.
Looking through the issues, it seems to be a common pitfall that most uses can't rely on a privileged call, but the default behavior is
privileged=False
(for ping and maybe others).Consider instead allowing a third state,
privileged='auto'
orprivileged=None
in which case it would attempt to detect the setting (e.g.privileged = platform.system() != 'Windows' and not os.getuid()
).The text was updated successfully, but these errors were encountered: