giampaolo / psutil

Cross-platform lib for process and system monitoring in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rename Process.connections() to Process.net_connections()

giampaolo opened this issue · comments

Why: in order to be consistent with psutil.net_connections(). psutil.Process.connections() was wrongly named, it should have kept the net_ prefix.

The old method name will be left in place and work as an alias for the new name. At the same time it will also raise a DeprecationWarning.