Closed giampaolo closed 2 months ago
Why: in order to be consistent with psutil.net_connections(). psutil.Process.connections() was wrongly named, it should have kept the net_ prefix.
psutil.net_connections()
psutil.Process.connections()
net_
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.
DeprecationWarning
Why: in order to be consistent with
psutil.net_connections()
.psutil.Process.connections()
was wrongly named, it should have kept thenet_
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
.