Back to index

python3.2  3.2.2
Public Member Functions | Static Private Attributes
_threading_local.local Class Reference
Inheritance diagram for _threading_local.local:
Inheritance graph
Collaboration diagram for _threading_local.local:
Collaboration graph

List of all members.

Public Member Functions

def __new__
def __getattribute__
def __setattr__
def __delattr__

Static Private Attributes

string __slots__ = '_local__impl'

Detailed Description

Definition at line 208 of file

Member Function Documentation

def _threading_local.local.__delattr__ (   self,

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,

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,

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:

def _threading_local.local.__setattr__ (   self,

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:

Member Data Documentation

string _threading_local.local.__slots__ = '_local__impl' [static, private]

Definition at line 209 of file

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