> For anyone who wants to write the patch, you can obviously either
> expose the variable the exception is stored in globally,

Remember that this is an add-on module, so re-compiling the socket
module code to expose the variable globally would be a rather big
change.  Or so it seemed to me when I thought about it.

> you can
> import the socket module and just get socket.error directly off of the
> module itself.

This is feasible.

Bill


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to