tools.py and info.py are vaguely named. Furthermore, they are not exported from the package and contain code only used by LocalMachineInfo (with the exception of ITCPPortSelector which is in info.py for no particular reason.
This PR moves code to be defined close to where it's used and puts ITCPPortSelector in an appropriately named file.
tools.py
andinfo.py
are vaguely named. Furthermore, they are not exported from the package and contain code only used byLocalMachineInfo
(with the exception ofITCPPortSelector
which is ininfo.py
for no particular reason.This PR moves code to be defined close to where it's used and puts
ITCPPortSelector
in an appropriately named file.