~ubuntu-branches/ubuntu/wily/pyzmq/wily-proposed

« back to all changes in this revision

Viewing changes to zmq/backend/cython/context.pyx

  • Committer: Package Import Robot
  • Author(s): Julian Taylor
  • Date: 2014-05-14 21:27:23 UTC
  • mto: (15.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: package-import@ubuntu.com-20140514212723-qov2ebwo275typj0
Tags: upstream-14.3.0
ImportĀ upstreamĀ versionĀ 14.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
        
87
87
        self._pid = getpid()
88
88
    
89
 
    def __del__(self):
90
 
        """deleting a Context should terminate it, without trying non-threadsafe destroy"""
91
 
        if not self._shadow:
92
 
            self.term()
93
 
    
94
89
    def __dealloc__(self):
95
90
        """don't touch members in dealloc, just cleanup allocations"""
96
91
        cdef int rc