lsst.ctrl.pool
21.0.0-2-ga326454+81234d1243
|
Public Member Functions | |
def | __new__ (cls, hold=None) |
def | __init__ (self, hold=None) |
def | __enter__ (self) |
def | __exit__ (self, excType, excVal, tb) |
Public Attributes | |
obj | |
Singleton to hold what's about to be pickled. We hold onto the object in case there's trouble pickling, so we can figure out what class in particular is causing the trouble. The held object is in the 'obj' attribute. Here we use the __new__-style singleton pattern, because we specifically want __init__ to be called each time.
def lsst.ctrl.pool.pool.PickleHolder.__init__ | ( | self, | |
hold = None |
|||
) |
def lsst.ctrl.pool.pool.PickleHolder.__exit__ | ( | self, | |
excType, | |||
excVal, | |||
tb | |||
) |
def lsst.ctrl.pool.pool.PickleHolder.__new__ | ( | cls, | |
hold = None |
|||
) |