Home | Trees | Indices | Help |
|
---|
|
Certain utilities to make the life more easy.
Author: André Malo
|
|||
IdentityWarning The attempt to change identity caused a soft error |
|||
IdentityError The attempt to change identity caused a hard error |
|||
SocketError Socket error |
|||
AddressError Address resolution error |
|||
TimeoutError Timeout error |
|||
SSLError SSL error |
|
|||
|
|||
|
|||
|
|||
int |
|
||
|
|||
tuple |
|
||
socket.socket |
|
||
|
|||
|
|
|||
_myflag = 1
|
|||
__package__ =
|
|
Convert a socket error into an appropriate module exception This function needs an already raised socket.error. raise_socket_error.EAIS is a mapping from GAI error numbers to their names ({int: 'name', ...})
|
|
descriptor to be closed on exec (or not)
Warning: This function is not thread safe (race condition) |
Ensure that file descriptor fd is >= 3 This is done by dup(2) calls until it's greater than 2. After success the duped descriptors are closed.
|
|
|
Change identity of the current process This only works if the effective user ID of the current process is 0.
|
|
Home | Trees | Indices | Help |
|
---|