Undocumented Function Call in socket module

I-feng Kao - EECS (ikao@gandalf.eecs.wsu.edu)
Wed, 3 Aug 1994 18:09:23 GMT

It took me a long time looking for ways to have local hostname in Python.
I read through the manual about socket and found nothing. Although there
are a function call gethostname() in C, it is not documented in Python Manual.
However, I still try to use socket.gethostname() and it worked. In the next
manual of next version, the function call can be put in the socket module.
It wasted me a lot of time and effort, I do not want it to happen again.

--
+--------------------------------------------------------------------+
|   I-feng Kao         	  E-mail : ikao@eecs.wsu.edu                 |
|                                  i8974949@wsuaix.csc.wsu.edu       |
|                                  kao@wsuvm1.csc.wsu.edu            |