Back to index

python3.2  3.2.2
Public Member Functions
multiprocessing.util.ForkAwareLocal Class Reference
Inheritance diagram for multiprocessing.util.ForkAwareLocal:
Inheritance graph
Collaboration diagram for multiprocessing.util.ForkAwareLocal:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __reduce__
def __new__
def __getattribute__
def __setattr__
def __delattr__

Detailed Description

Definition at line 313 of file

Constructor & Destructor Documentation

Definition at line 314 of file

00315     def __init__(self):
        register_after_fork(self, lambda obj : obj.__dict__.clear())

Here is the call graph for this function:

Here is the caller graph for this function:

Member Function Documentation

def _threading_local.local.__delattr__ (   self,
) [inherited]

Definition at line 237 of file

00238     def __delattr__(self, name):
00239         if name == '__dict__':
00240             raise AttributeError(
00241                 "%r object attribute '__dict__' is read-only"
00242                 % self.__class__.__name__)
00243         with _patch(self):
00244             return object.__delattr__(self, name)

Here is the call graph for this function:

def _threading_local.local.__getattribute__ (   self,
) [inherited]

Definition at line 225 of file

00226     def __getattribute__(self, name):
00227         with _patch(self):
00228             return object.__getattribute__(self, name)

Here is the call graph for this function:

def _threading_local.local.__new__ (   cls,
) [inherited]

Definition at line 211 of file

00212     def __new__(cls, *args, **kw):
00213         if (args or kw) and (cls.__init__ is object.__init__):
00214             raise TypeError("Initialization arguments are not supported")
00215         self = object.__new__(cls)
00216         impl = _localimpl()
00217         impl.localargs = (args, kw)
00218         impl.locallock = RLock()
00219         object.__setattr__(self, '_local__impl', impl)
00220         # We need to create the thread dict in anticipation of
00221         # __init__ being called, to make sure we don't call it
00222         # again ourselves.
00223         impl.create_dict()
00224         return self

Here is the call graph for this function:

Definition at line 316 of file

00317     def __reduce__(self):
00318         return type(self), ()
def _threading_local.local.__setattr__ (   self,
) [inherited]

Definition at line 229 of file

00230     def __setattr__(self, name, value):
00231         if name == '__dict__':
00232             raise AttributeError(
00233                 "%r object attribute '__dict__' is read-only"
00234                 % self.__class__.__name__)
00235         with _patch(self):
00236             return object.__setattr__(self, name, value)

Here is the call graph for this function:

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