Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
threading._Verbose Class Reference
Inheritance diagram for threading._Verbose:
Inheritance graph
[legend]
Collaboration diagram for threading._Verbose:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __init__

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Private Member Functions

def _note
def _note

Private Attributes

 _verbose

Detailed Description

Definition at line 44 of file threading.py.


Constructor & Destructor Documentation

def threading._Verbose.__init__ (   self,
  verbose = None 
)

Reimplemented in test.test_ssl.AsyncoreEchoServer, threading._Event, threading._RLock, test.test_urllib2_localnet.LoopbackHttpServerThread, and test.test_asynchat.echo_server.

Definition at line 46 of file threading.py.

00046 
00047         def __init__(self, verbose=None):
00048             if verbose is None:
00049                 verbose = _VERBOSE
00050             self._verbose = verbose

Here is the caller graph for this function:

def threading._Verbose.__init__ (   self,
  verbose = None 
)

Reimplemented in test.test_ssl.AsyncoreEchoServer, threading._Event, threading._RLock, test.test_urllib2_localnet.LoopbackHttpServerThread, and test.test_asynchat.echo_server.

Definition at line 67 of file threading.py.

00067 
00068         def __init__(self, verbose=None):
            pass

Here is the call graph for this function:

Here is the caller graph for this function:


Member Function Documentation

def threading._Verbose._note (   self,
  format,
  args 
) [private]

Definition at line 51 of file threading.py.

00051 
00052         def _note(self, format, *args):
00053             if self._verbose:
00054                 format = format % args
00055                 # Issue #4188: calling current_thread() can incur an infinite
00056                 # recursion if it has to create a DummyThread on the fly.
00057                 ident = _get_ident()
00058                 try:
00059                     name = _active[ident].name
00060                 except KeyError:
00061                     name = "<OS thread %d>" % ident
00062                 format = "%s: %s\n" % (name, format)
00063                 _sys.stderr.write(format)
00064 
00065 else:
    # Disable this when using "python -O"

Here is the caller graph for this function:

def threading._Verbose._note (   self,
  args 
) [private]

Definition at line 69 of file threading.py.

00069 
00070         def _note(self, *args):
00071             pass
00072 
00073 # Support for profile and trace hooks

Here is the call graph for this function:


Member Data Documentation

Definition at line 49 of file threading.py.

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.


The documentation for this class was generated from the following file: