kr.motd.maven.sphinx.dist.future.backports.socket$py.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sphinx-maven-plugin Show documentation
Show all versions of sphinx-maven-plugin Show documentation
Maven plugin that creates the site with Sphinx
???? 1\ f$0 R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; __doc__ This module provides socket operations and some related functions.
On Unix, it supports IP (Internet Protocol) and Unix domain sockets.
On other systems, it only supports IP. Functions specific for a
socket are available as methods of the socket object.
Functions:
socket() -- create a new socket object
socketpair() -- create a pair of new socket objects [*]
fromfd() -- create a socket object from an open file descriptor [*]
fromshare() -- create a socket object from data received from socket.share() [*]
gethostname() -- return the current hostname
gethostbyname() -- map a hostname to its IP number
gethostbyaddr() -- map an IP number or hostname to DNS info
getservbyname() -- map a service name and a protocol name to a port number
getprotobyname() -- map a protocol name (e.g. 'tcp') to a number
ntohs(), ntohl() -- convert 16, 32 bit int from network to host byte order
htons(), htonl() -- convert 16, 32 bit int from host to network byte order
inet_aton() -- convert IP addr string (123.45.67.89) to 32-bit packed format
inet_ntoa() -- convert 32-bit packed format IP to string (123.45.67.89)
socket.getdefaulttimeout() -- get the default timeout value
socket.setdefaulttimeout() -- set the default timeout value
create_connection() -- connects to an address, with an optional timeout and
optional source address.
[*] not available on all platforms!
Special objects:
SocketType -- type object for socket objects
error -- exception raised for I/O errors
has_ipv6 -- boolean value indicating if IPv6 is supported
Integer constants:
AF_INET, AF_UNIX -- socket domains (first argument to socket() call)
SOCK_STREAM, SOCK_DGRAM, SOCK_RAW -- socket types (second argument)
Many other constants may be defined; these may be used in calls to
the setsockopt() and getsockopt() methods.
org/python/core/PyString fromInterned .(Ljava/lang/String;)Lorg/python/core/PyString;
org/python/core/PyFrame
setglobal /(Ljava/lang/String;Lorg/python/core/PyObject;)V
setline (I)V
__future__ java/lang/String unicode_literals org/python/core/imp
importFrom \(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject;
! setlocal #
$ print_function & division ( absolute_import * future.builtins , super . _socket 0 importOne H(Ljava/lang/String;Lorg/python/core/PyFrame;I)Lorg/python/core/PyObject; 2 3
4 importAll /(Ljava/lang/String;Lorg/python/core/PyFrame;I)V 6 7
8 os : sys < io > errno @ org/python/core/Py B setException M(Ljava/lang/Throwable;Lorg/python/core/PyFrame;)Lorg/python/core/PyException; D E
C F ImportError H getname .(Ljava/lang/String;)Lorg/python/core/PyObject; J K
L org/python/core/PyException N match (Lorg/python/core/PyObject;)Z P Q
O R None T java/lang/Throwable V getattr X EBADF Z org/python/core/PyUnicode \ /(Ljava/lang/String;)Lorg/python/core/PyUnicode; ^
] _
newInteger (I)Lorg/python/core/PyInteger; a b
C c org/python/core/PyObject e __call__ ?(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; g h
f i EAGAIN k EWOULDBLOCK m org/python/core/PyList o getfqdn q create_connection s ([Lorg/python/core/PyObject;)V u v
p w __all__ y extend { __getattr__ } K
f ~ _get_exports_list ? S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; g ?
f ? socket ? _realsocket ? platform ? lower ? 9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; g ?
f ?
startswith ? win ? __nonzero__ ()Z ? ?
f ? org/python/core/PyDictionary ? EmptyObjects [Lorg/python/core/PyObject; ? ? C ?
? w errorTab ? The operation was interrupted. ? __setitem__ 7(Lorg/python/core/PyObject;Lorg/python/core/PyObject;)V ? ?
f ? A bad file handle was passed. ? Permission denied. ? !A fault occurred on the network?? ? #An invalid operation was attempted. ? The socket operation would block ? ,A blocking operation is already in progress. ? The network address is in use. ? The connection has been reset. ? The network has been shut down. ? The operation timed out. ? Connection refused. ? The name is too long. ? The host is down. ? The host is unreachable. ? append ? socket$1
__module__ ? __name__ ? :A subclass of _socket.socket adding the makefile() method. ? __weakref__ ? _io_refs ? _closed ? __slots__ ? AF_INET ? SOCK_STREAM ? org/python/core/PyFunction ? f_globals Lorg/python/core/PyObject; ? ? ?
__init__$2 getlocal (I)Lorg/python/core/PyObject; ? ?
? getglobal ? K
? _is 6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
f ? __init__ ? ?(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; g ?
f ? T(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;)Lorg/python/core/PyObject; g ?
f ? __setattr__ ?
f ? False ? f_lasti I ? ? ? T ? C ? future/backports/socket$py ? Lorg/python/core/PyCode; ? ? ? j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V u
? __enter__$3 ? ? __enter__
__exit__$4 __not__ ()Lorg/python/core/PyObject;
f
close
? ? __exit__
__repr__$5 .Wrap __repr__() to reveal the real class name. __repr__ (ILorg/python/core/PyObject;)V #