This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients David.Edelsohn, christian.heimes, python-dev, vstinner
Date 2013-06-19.00:35:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371602111.99.0.599815997536.issue18259@psf.upfronthosting.co.za>
In-reply-to
Content
Seems to work. I don't have root permission on the box so I can't actually test if the function call succeeds.

% ./python 
Python 3.4.0a0 (default:626a8e49f2a9, Jun 19 2013, 00:19:57) 
[GCC 4.7.1] on aix7
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> socket.sethostname('python')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
PermissionError: [Errno 1] Not owner
History
Date User Action Args
2013-06-19 00:35:12christian.heimessetrecipients: + christian.heimes, vstinner, python-dev, David.Edelsohn
2013-06-19 00:35:11christian.heimessetmessageid: <1371602111.99.0.599815997536.issue18259@psf.upfronthosting.co.za>
2013-06-19 00:35:11christian.heimeslinkissue18259 messages
2013-06-19 00:35:11christian.heimescreate