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 andy_js
Recipients andy_js, jcea, r.david.murray
Date 2015-05-28.16:34:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432830872.0.0.333825259532.issue23895@psf.upfronthosting.co.za>
In-reply-to
Content
The -z ignore option is actually exposing issues that could cause a problem at runtime.  If the socket module were imported and libsocket/libnsl hadn't already been loaded (i.e pulled in by the loader as a dependency of another module) the loader would fail due to unresolved symbols.

This problem would not effect Linux because all of the socket stuff is in libc, which is not the case on Solaris.  Today it doesn't cause a problem because most other things are already pulling in libsocket and libnsl before the socket module is loaded, but there's no guarantee that will always be the case.

For the sake of correctness it should be fixed, and I would suggest later making -z ignore the default on Solaris.

I will see if I can find somebody else to review the patch.
History
Date User Action Args
2015-05-28 16:34:32andy_jssetrecipients: + andy_js, jcea, r.david.murray
2015-05-28 16:34:31andy_jssetmessageid: <1432830872.0.0.333825259532.issue23895@psf.upfronthosting.co.za>
2015-05-28 16:34:31andy_jslinkissue23895 messages
2015-05-28 16:34:31andy_jscreate