Andrew Stormont added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23895>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to