hgrecco/pizco — pull request #11 by PierreBizouard (2014-04-11 09:25:11+00:00)
Title: Develop

Naming system. Some issue remain when running tests while the naming system is in the same process. maybe because it's pinging itself, maybe check internal ip using can solve it.

>>> import socket
>>> print([ip for ip in socket.gethostbyname_ex(socket.gethostname())[2])