wrapmodule affects not just the wrapped module
CyberShadow opened this issue · 0 comments
CyberShadow commented
wrapmodule
is defined simply as:
Line 146 in c2fa43c
However, that will affect not just the socket
function as it is visible from the module, but from everywhele else as well. Therefore, e.g. socks.wrapmodule(smtplib)
will affect the entire application.