Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
multiprocessing.pool.MaybeEncodingError Class Reference
Inheritance diagram for multiprocessing.pool.MaybeEncodingError:
Inheritance graph
[legend]
Collaboration diagram for multiprocessing.pool.MaybeEncodingError:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __str__
def __repr__

Public Attributes

 exc
 value

Detailed Description

Wraps possible unpickleable errors, so they can be
safely sent through the socket.

Definition at line 71 of file pool.py.


Constructor & Destructor Documentation

def multiprocessing.pool.MaybeEncodingError.__init__ (   self,
  exc,
  value 
)

Definition at line 75 of file pool.py.

00075 
00076     def __init__(self, exc, value):
00077         self.exc = repr(exc)
00078         self.value = repr(value)
00079         super(MaybeEncodingError, self).__init__(self.exc, self.value)

Here is the caller graph for this function:


Member Function Documentation

Definition at line 84 of file pool.py.

00084 
00085     def __repr__(self):
00086         return "<MaybeEncodingError: %s>" % str(self)
00087 

Definition at line 80 of file pool.py.

00080 
00081     def __str__(self):
00082         return "Error sending result: '%s'. Reason: '%s'" % (self.value,
00083                                                              self.exc)


Member Data Documentation

Definition at line 76 of file pool.py.

Definition at line 77 of file pool.py.


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