[issue5626] misleading comment in socket.gethostname() documentation

2016-01-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset e1a711808cfe by Berker Peksag in branch '3.5': Issue #5626: Remove misleading comment from socket.gethostname() documentation https://hg.python.org/cpython/rev/e1a711808cfe New changeset 689f881dd5d1 by Berker Peksag in branch 'default': Issue #5626

[issue5626] misleading comment in socket.gethostname() documentation

2016-01-19 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue5626] misleading comment in socket.gethostname() documentation

2016-01-19 Thread Berker Peksag
Berker Peksag added the comment: I agree with Chris and Ned. I will apply issue5626_v1.diff today. -- stage: -> commit review type: -> behavior versions: +Python 3.5, Python 3.6 -Python 2.6, Python 3.0, Python 3.1 ___ Python tracker

[issue5626] misleading comment in socket.gethostname() documentation

2016-01-18 Thread Ned Deily
Ned Deily added the comment: The point still stands that speaking of "the current machine's IP address" is misleading at best. I'd say either apply Berker's suggested patch or expand the description to better reflect the real world of multiple interfaces. Of course I'm biased. -- _

[issue5626] misleading comment in socket.gethostname() documentation

2016-01-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: Given that we have not received any more reports on users tripping up on this message, it seems to me that we could just ignore this report and close it. Thoughts? -- nosy: +orsenthil ___ Python tracker

[issue5626] misleading comment in socket.gethostname() documentation

2014-03-02 Thread Chris Angelico
Chris Angelico added the comment: Python doesn't currently have any sort of function for fetching all a computer's IPs, as far as I know, but if there is one (either now or in the future), it would be good to link to that from there. "Here's how to get your host name. And if you're interested,

[issue5626] misleading comment in socket.gethostname() documentation

2012-03-01 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue5626] misleading comment in socket.gethostname() documentation

2012-03-01 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +patch Added file: http://bugs.python.org/file24698/issue5626_v1.diff ___ Python tracker ___ __

[issue5626] misleading comment in socket.gethostname() documentation

2010-07-31 Thread Mark Lawrence
Changes by Mark Lawrence : -- assignee: georg.brandl -> d...@python nosy: +d...@python ___ Python tracker ___ ___ Python-bugs-list mail

[issue5626] misleading comment in socket.gethostname() documentation

2009-03-31 Thread Ned Deily
New submission from Ned Deily : The documentation for socket.gethostname() contains the following comment: "If you want to know the current machine’s IP address, you may want to use gethostbyname(gethostname()). This operation assumes that there is a valid address-to-host mapping for the host