Module Expr Str ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias alias If NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Return BinOpAdd SubscriptLoad NameLoad Slice NameLoad Call AttributeLoad Str attr NameLoad decorator_list orelse FunctionDef arguments args NameParam NameParam NameParam defaults body Return BinOpAdd Call NameLoad NameLoad NameLoad Call AttributeLoad Str attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return Call AttributeLoad NameLoad attr Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Str decorator_list decorator_list Call NameLoad AttributeLoad NameLoad attr ClassDef bases NameLoad NameLoad body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Str Assign NameStore Num Assign NameStore BinOpMult Num Num FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot NameLoad body ImportFrom alias Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad BinOpMod Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad BinOpMod Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareLt BinOpSub Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpOr Call NameLoad NameLoad NameLoad CompareLt NameLoad Num body Return NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad If BoolOpAnd CompareEq AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad BoolOpOr UnaryOpNot AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr orelse If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return CompareGt BinOpAdd Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot NameLoad AttributeLoad NameLoad attr body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore NameLoad body AugAssignAdd AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Str If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Assign NameStore NameLoad Assign NameStore BinOpPow Num BinOpPow Num BinOpPow Num Num FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Num decorator_list decorator_list Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq Call NameLoad NameLoad Num body For NameStore NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Return NameLoad orelse If BoolOpOr CompareLt NameLoad Num CompareGt NameLoad Num body Return NameLoad Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIn Str NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num If UnaryOpNot NameLoad body Return NameLoad TryExcept body Expr Call NameLoad NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list Assign NameStore ListLoad Str Str Str
N/A N/A 
Support for generic select()able objects.
 __future__ division absolute_import socket AF_INET6 inet_pton error zope.interface implementer twisted.python.compat _PY3 unicode lazyByteSlice twisted.python reflect failure twisted.internet interfaces main N/A _PY3 N/A _concatenate N/A N/A bObj offset bArray N/A N/A N/A N/A N/A bObj N/A offset N/A N/A join bArray N/A N/A _concatenate N/A N/A bObj offset bArray N/A N/A N/A N/A N/A buffer bObj offset N/A N/A join bArray N/A _ConsumerMixin N/A object N/A N/A 
    L{IConsumer} implementations can mix this in to get C{registerProducer} and
    C{unregisterProducer} methods which take care of keeping track of a
    producer's state.

    Subclasses must provide three attributes which L{_ConsumerMixin} will read
    but not write:

      - connected: A C{bool} which is C{True} as long as the consumer has
        someplace to send bytes (for example, a TCP connection), and then
        C{False} when it no longer does.

      - disconnecting: A C{bool} which is C{False} until something like
        L{ITransport.loseConnection} is called, indicating that the send buffer
        should be flushed and the connection lost afterwards.  Afterwards,
        C{True}.

      - disconnected: A C{bool} which is C{False} until the consumer no longer
        has a place to send bytes, then C{True}.

    Subclasses must also override the C{startWriting} method.

    @ivar producer: C{None} if no producer is registered, otherwise the
        registered producer.

    @ivar producerPaused: A flag indicating whether the producer is currently
        paused.
    @type producerPaused: L{bool}

    @ivar streamingProducer: A flag indicating whether the producer was
        registered as a streaming (ie push) producer or not (ie a pull
        producer).  This will determine whether the consumer may ever need to
        pause and resume it, or if it can merely call C{resumeProducing} on it
        when buffer space is available.
    @ivar streamingProducer: C{bool} or C{int}

     N/A producer None N/A producerPaused False N/A streamingProducer False startWriting N/A N/A self N/A N/A N/A 
        Override in a subclass to cause the reactor to monitor this selectable
        for write events.  This will be called once in C{unregisterProducer} if
        C{loseConnection} has previously been called, so that the connection can
        actually close.
         N/A N/A NotImplementedError %r did not implement startWriting N/A registerProducer N/A N/A self producer streaming N/A N/A N/A 
        Register to receive data from a producer.

        This sets this selectable to be a consumer for a producer.  When this
        selectable runs out of data on a write() call, it will ask the producer
        to resumeProducing(). When the FileDescriptor's internal data buffer is
        filled, it will ask the producer to pauseProducing(). If the connection
        is lost, FileDescriptor calls producer's stopProducing() method.

        If streaming is true, the producer should provide the IPushProducer
        interface. Otherwise, it is assumed that producer provides the
        IPullProducer interface. In this case, the producer won't be asked to
        pauseProducing(), but it has to be careful to write() data only when its
        resumeProducing() method is called.
         N/A N/A N/A self producer None N/A N/A N/A RuntimeError N/A Cannot register producer %s, because producer %s was never unregistered. N/A producer N/A self producer N/A N/A self disconnected N/A N/A N/A N/A producer stopProducing N/A N/A N/A self producer producer N/A N/A self streamingProducer streaming N/A N/A streaming N/A N/A N/A N/A producer resumeProducing N/A unregisterProducer N/A N/A self N/A N/A N/A 
        Stop consuming data from a producer, without disconnecting.
         N/A N/A self producer None N/A N/A N/A self connected N/A self disconnecting N/A N/A N/A N/A self startWriting N/A N/A _LogOwner N/A object N/A N/A 
    Mixin to help implement L{interfaces.ILoggingContext} for transports which
    have a protocol, the log prefix of which should also appear in the
    transport's log prefix.
     _getLogPrefix N/A N/A self applicationObject N/A N/A N/A 
        Determine the log prefix to use for messages related to
        C{applicationObject}, which may or may not be an
        L{interfaces.ILoggingContext} provider.

        @return: A C{str} giving the log prefix to use.
         N/A N/A N/A N/A interfaces ILoggingContext providedBy applicationObject N/A N/A N/A N/A applicationObject logPrefix N/A N/A N/A applicationObject __class__ __name__ N/A logPrefix N/A N/A self N/A N/A N/A 
        Override this method to insert custom logging behavior.  Its
        return value will be inserted in front of every line.  It may
        be called more times than the number of output lines.
         N/A - N/A N/A N/A implementer N/A interfaces ILoggingContext FileDescriptor N/A _ConsumerMixin _LogOwner N/A N/A 
    An object which can be operated on by select().

    This is an abstract superclass of all objects which may be notified when
    they are readable or writable; e.g. they have a file-descriptor that is
    valid to be passed to select(2).
     N/A connected 0 N/A disconnected 0 N/A disconnecting 0 N/A _writeDisconnecting False N/A _writeDisconnected False N/A dataBuffer N/A offset 0 N/A SEND_LIMIT N/A 128 1024 __init__ N/A N/A self reactor N/A None N/A N/A 
        @param reactor: An L{IReactorFDSet} provider which this descriptor will
            use to get readable and writeable event notifications.  If no value
            is given, the global reactor will be used.
         N/A N/A reactor N/A twisted.internet reactor N/A N/A self reactor reactor N/A N/A self _tempDataBuffer N/A N/A N/A self _tempDataLen 0 N/A connectionLost N/A N/A self reason N/A N/A N/A The connection was lost.

        This is called when the connection on a selectable object has been
        lost.  It will be called whether the connection was closed explicitly,
        an exception occurred in an event handler, or the other end of the
        connection closed it first.

        Clean up state here, but make sure to call back up to FileDescriptor.
         N/A N/A self disconnected 1 N/A N/A self connected 0 N/A N/A N/A self producer None N/A N/A N/A N/A N/A self producer stopProducing N/A N/A self producer None N/A N/A N/A self stopReading N/A N/A N/A self stopWriting N/A writeSomeData N/A N/A self data N/A N/A N/A 
        Write as much as possible of the given data, immediately.

        This is called to invoke the lower-level writing functionality, such
        as a socket's send() method, or a file's write(); this method
        returns an integer or an exception.  If an integer, it is the number
        of bytes written (possibly zero); if an exception, it indicates the
        connection was lost.
         N/A N/A NotImplementedError N/A %s does not implement writeSomeData N/A N/A reflect qual N/A self __class__ N/A doRead N/A N/A self N/A N/A N/A 
        Called when data is available for reading.

        Subclasses must override this method. The result will be interpreted
        in the same way as a result of doWrite().
         N/A N/A NotImplementedError N/A %s does not implement doRead N/A N/A reflect qual N/A self __class__ N/A doWrite N/A N/A self N/A N/A N/A 
        Called when data can be written.

        @return: C{None} on success, an exception or a negative integer on
            failure.

        @see: L{twisted.internet.interfaces.IWriteDescriptor.doWrite}.
         N/A N/A N/A N/A len N/A self dataBuffer N/A self offset N/A self SEND_LIMIT N/A N/A N/A self dataBuffer N/A _concatenate N/A self dataBuffer N/A self offset N/A self _tempDataBuffer N/A N/A self offset 0 N/A N/A self _tempDataBuffer N/A N/A N/A self _tempDataLen 0 N/A N/A self offset N/A N/A l N/A N/A self writeSomeData N/A lazyByteSlice N/A self dataBuffer N/A self offset N/A N/A l N/A N/A self writeSomeData N/A self dataBuffer N/A N/A N/A isinstance l Exception N/A l 0 N/A N/A l N/A N/A self offset l N/A N/A N/A N/A self offset N/A len N/A self dataBuffer N/A N/A self _tempDataLen N/A N/A N/A self dataBuffer N/A N/A self offset 0 N/A N/A N/A self stopWriting N/A N/A N/A N/A self producer None N/A N/A N/A self streamingProducer N/A self producerPaused N/A N/A N/A self producerPaused False N/A N/A N/A N/A self producer resumeProducing N/A N/A N/A self disconnecting N/A N/A N/A N/A self _postLoseConnection N/A N/A N/A self _writeDisconnecting N/A N/A N/A self _writeDisconnected True N/A result N/A N/A self _closeWriteConnection N/A result N/A None N/A _postLoseConnection N/A N/A self N/A N/A N/A Called after a loseConnection(), when all data has been written.

        Whatever this returns is then returned by doWrite.
         N/A N/A main CONNECTION_DONE N/A _closeWriteConnection N/A N/A self N/A N/A N/A N/A writeConnectionLost N/A N/A self reason N/A N/A N/A N/A N/A self connectionLost reason N/A readConnectionLost N/A N/A self reason N/A N/A N/A N/A N/A self connectionLost reason N/A _isSendBufferFull N/A N/A self N/A N/A N/A 
        Determine whether the user-space send buffer for this transport is full
        or not.

        When the buffer contains more than C{self.bufferSize} bytes, it is
        considered full.  This might be improved by considering the size of the
        kernel send buffer and how much of it is free.

        @return: C{True} if it is full, C{False} otherwise.
         N/A N/A N/A N/A len N/A self dataBuffer N/A self _tempDataLen N/A self bufferSize N/A _maybePauseProducer N/A N/A self N/A N/A N/A 
        Possibly pause a producer, if there is one and the send buffer is full.
         N/A N/A N/A N/A self producer None N/A self streamingProducer N/A N/A N/A N/A self _isSendBufferFull N/A N/A N/A self producerPaused True N/A N/A N/A N/A self producer pauseProducing N/A write N/A N/A self data N/A N/A N/A Reliably write some data.

        The data is buffered until the underlying file descriptor is ready
        for writing. If there is more than C{self.bufferSize} data in the
        buffer and this descriptor has a registered streaming producer, its
        C{pauseProducing()} method will be called.
         N/A N/A isinstance data unicode N/A N/A N/A TypeError Data must not be unicode N/A N/A N/A N/A self connected N/A self _writeDisconnected N/A N/A N/A data N/A N/A N/A N/A N/A self _tempDataBuffer append data N/A N/A self _tempDataLen N/A len data N/A N/A N/A self _maybePauseProducer N/A N/A N/A self startWriting N/A writeSequence N/A N/A self iovec N/A N/A N/A 
        Reliably write a sequence of data.

        Currently, this is a convenience method roughly equivalent to::

            for chunk in iovec:
                fd.write(chunk)

        It may have a more efficient implementation at a later time or in a
        different reactor.

        As with the C{write()} method, if a buffer size limit is reached and a
        streaming producer is registered, it will be paused until the buffered
        data is written to the underlying file descriptor.
         N/A i iovec N/A N/A N/A isinstance i unicode N/A N/A N/A TypeError Data must not be unicode N/A N/A N/A N/A self connected N/A iovec N/A self _writeDisconnected N/A N/A N/A N/A N/A N/A self _tempDataBuffer extend iovec N/A i iovec N/A N/A N/A self _tempDataLen N/A len i N/A N/A N/A self _maybePauseProducer N/A N/A N/A self startWriting N/A loseConnection N/A N/A self _connDone N/A N/A N/A failure Failure N/A main CONNECTION_DONE N/A N/A Close the connection at the next available opportunity.

        Call this to cause this FileDescriptor to lose its connection.  It will
        first write any data that it has buffered.

        If there is data buffered yet to be written, this method will cause the
        transport to lose its connection as soon as it's done flushing its
        write buffer.  If you have a producer registered, the connection won't
        be closed until the producer is finished. Therefore, make sure you
        unregister your producer when it's finished, or the connection will
        never close.
         N/A N/A N/A self connected N/A N/A self disconnecting N/A N/A N/A self _writeDisconnected N/A N/A N/A N/A self stopReading N/A N/A N/A self stopWriting N/A N/A N/A self connectionLost _connDone N/A N/A N/A N/A self stopReading N/A N/A N/A self startWriting N/A N/A self disconnecting 1 N/A loseWriteConnection N/A N/A self N/A N/A N/A N/A self _writeDisconnecting True N/A N/A N/A self startWriting N/A stopReading N/A N/A self N/A N/A N/A Stop waiting for read availability.

        Call this to remove this selectable from being notified when it is
        ready for reading.
         N/A N/A N/A N/A self reactor removeReader self N/A stopWriting N/A N/A self N/A N/A N/A Stop waiting for write availability.

        Call this to remove this selectable from being notified when it is ready
        for writing.
         N/A N/A N/A N/A self reactor removeWriter self N/A startReading N/A N/A self N/A N/A N/A Start waiting for read availability.
         N/A N/A N/A N/A self reactor addReader self N/A startWriting N/A N/A self N/A N/A N/A Start waiting for write availability.

        Call this to have this FileDescriptor be notified whenever it is ready for
        writing.
         N/A N/A N/A N/A self reactor addWriter self N/A N/A producer None N/A bufferSize N/A 2 N/A 2 N/A 2 2 stopConsuming N/A N/A self N/A N/A N/A Stop consuming data.

        This is called when a producer has lost its connection, to tell the
        consumer to go lose its connection (and break potential circular
        references).
         N/A N/A N/A self unregisterProducer N/A N/A N/A self loseConnection N/A resumeProducing N/A N/A self N/A N/A N/A N/A N/A self connected N/A N/A self disconnecting N/A N/A N/A N/A self startReading N/A pauseProducing N/A N/A self N/A N/A N/A N/A N/A self stopReading N/A stopProducing N/A N/A self N/A N/A N/A N/A N/A self loseConnection N/A fileno N/A N/A self N/A N/A N/A File Descriptor number for select().

        This method must be overridden or assigned in subclasses to
        indicate a valid file descriptor for the operating system.
         N/A -1 N/A N/A N/A implementer N/A interfaces IPushProducer N/A interfaces IReadWriteDescriptor N/A interfaces IConsumer N/A interfaces ITransport N/A interfaces IHalfCloseableDescriptor isIPAddress N/A N/A addr N/A N/A N/A 
    Determine whether the given string represents an IPv4 address.

    @type addr: C{str}
    @param addr: A string which may or may not be the decimal dotted
    representation of an IPv4 address.

    @rtype: C{bool}
    @return: C{True} if C{addr} represents an IPv4 address, C{False}
    otherwise.
     N/A dottedParts N/A N/A addr split . N/A N/A N/A len dottedParts 4 N/A N/A octet dottedParts N/A N/A N/A N/A value N/A int octet N/A N/A N/A ValueError N/A N/A False N/A N/A N/A N/A value 0 N/A value 255 N/A N/A False N/A True N/A False N/A isIPv6Address N/A N/A addr N/A N/A N/A 
    Determine whether the given string represents an IPv6 address.

    @param addr: A string which may or may not be the hex
        representation of an IPv6 address.
    @type addr: C{str}

    @return: C{True} if C{addr} represents an IPv6 address, C{False}
        otherwise.
    @rtype: C{bool}
     N/A N/A % addr N/A N/A addr N/A N/A N/A addr split % 1 N/A 0 N/A N/A addr N/A N/A False N/A N/A N/A N/A inet_pton AF_INET6 addr N/A N/A N/A N/A ValueError error N/A N/A False N/A True N/A N/A __all__ N/A FileDescriptor isIPAddress isIPv6Address